iPhone simulator compilation with xcode 5 fails

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

 



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-0001.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