How to build for an older iPhone SDK

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Fadi,

You have to add the following statement to CFLAGS and LDFLAGS
     -miphoneos-version-min=4.1
You can define the minimum iOS version by replace 4.1 by your target of 
iOS version.
This statement works fine with SDK4.3 and SDK5.0

Best regards

Samuel


Le 12/12/11 17:23, Fadi Chehimi a ?crit :
>
> Hello
>
> Currently i have got PJSIP working on my iPhone app. I build using 
> XCode 3.2.6 and SDK 4.3. Everything works fine on a device that runs 
> iOS 4.3.3. However my app does not install on a device that runs on 4.2.1.
> I think the issue is with the build configs of PJSIP which uses the 
> latest iPhone SDK.
> I have two questions:
>
> 1- Is it possible to build the app on an older SDK in order to support 
> iPhones that run on a version earlier than my XCode SDK, say 4.0?
>
> 2- If not does that mean the i will never be able to support iPhones 
> earlier than the SDK i have installed?
>
> Cheers
> Fadi
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111213/5d16d0c6/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux