I'm using this: export DEVPATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer ARCH="-arch i386" CFLAGS="-O2 -m32 -miphoneos-version-min=4.0" LDFLAGS="-O2 -m32 -miphoneos-version-min=4.0" ./configure-iphone make dep && make clean && make On Mon, Sep 16, 2013 at 6:49 PM, <pjsip-request at lists.pjsip.org> wrote: > Send pjsip mailing list submissions to > pjsip at lists.pjsip.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > or, via email, send a message with subject or body 'help' to > pjsip-request at lists.pjsip.org > > You can reach the person managing the list at > pjsip-owner at lists.pjsip.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of pjsip digest..." > > > Today's Topics: > > 1. iPhone simulator compilation with xcode 5 fails (Romain JEZEQUEL) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 16 Sep 2013 16:48:56 +0100 (BST) > From: Romain JEZEQUEL <romainjezequel@xxxxxxxx> > To: "pjsip at lists.pjsip.org" <pjsip at lists.pjsip.org> > Subject: iPhone simulator compilation with xcode 5 fails > Message-ID: > <1379346536.23192.YahooMailNeo at web171501.mail.ir2.yahoo.com> > Content-Type: text/plain; charset="utf-8" > > Hi all, > > I'm moving to xCode5 (and clang3.3 compiler) environment to compile PJSIP. > No problem with a "device" target (iPhoneOS7.0sdk). > > But trying to compile for the simulator (iPhoneSimulator7.0.sdk) fails. > I got the following error : "ld: building for macosx but linking against > dylib built for ios simulator file" on each linked framework. > > I've made the following tries (with PJSIP 2.0.1 ( with Changeset 4588) > and PJSIP 2.1.0): > > xCode 4.6 and clang 3.2 environment : simulator compilation ok > xCode 5.0 and clang 3.2 environment : simulator compilation ok > xCode 5.0 and llvm-gcc 4.2 environment : simulator compilation ok > xCode 5.0 and clang 3.3 environment : simulator compilation fails > > Anyone experiencing the same issue? > > Maybe a new option to set? Or an issue with xCode 5 environment, in which > case I'm posting to the wrong list! > > Thanks for any experience share. > > Regards, > > > Romain > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130916/fb7adca3/attachment.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > ------------------------------ > > End of pjsip Digest, Vol 73, Issue 41 > ************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130916/dc458a99/attachment-0001.html>