Many thanks Samuel This soled my problem and i can confirm that the app isntalls smoothly on all test devices i have (iOS 4.0 and above) :) Cheers On Tue, Dec 13, 2011 at 10:35 PM, Samuel Vinson <samuelv at laposte.net> wrote: > Hi Fadi, > > CFLAGS="$CFLAGS -miphoneos-version-min=4.0" > LDFLAGS="$LDFLAGS -miphoneos-version-min=4.0" > > or > > export CFLAGS=$CFLAGS -miphoneos-version-min=4.0 > export LDFLAGS=$LDFLAGS -miphoneos-version-min=4.0 > > Samuel > > Le 13/12/11 14:16, Fadi Chehimi a ?crit : > > Hi Samuel > > Thanks for the reply > > i am trying to add like the following but i get the Terminal complaining: > > dhcp-163:pjproject fadi$ export CFLAGS += "-miphoneos-version-min=4.0" > -bash: export: `+=': not a valid identifier > -bash: export: `-miphoneos-version-min=4.0': not a valid identifier > > What should the right syntax be? > Cheers > > > On Mon, Dec 12, 2011 at 11:44 PM, Samuel Vinson <samuelv at laposte.net>wrote: > >> 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 listpjsip at lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> >> _______________________________________________ >> 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 >> >> > > > -- > ------------------------------------- > Fadi Chehimi, PhD > Mobile Software Engineer > Tel: +44 1143 190 529 > Localphone Ltd > 4 Paradise Street, Sheffield, S1 2DF, UK > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing listpjsip at lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > _______________________________________________ > 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 > > -- ------------------------------------- Fadi Chehimi, PhD Mobile Software Engineer Tel: +44 1143 190 529 Localphone Ltd 4 Paradise Street, Sheffield, S1 2DF, UK -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111214/88c9c374/attachment.html>