After update to Xcode5.1: "Please specify target machine.", "PJ_HAS_PENTIUM is not defined!"

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

 



? answering my own question - at least partially:

In xcode's ?Architectures? settings, one has to set ?Architectures" to $(ARCHS_STANDARD_32_BIT) - at least for DEBUG and RELEASE.

In https://developer.apple.com/library/mac/releasenotes/DeveloperTools/RN-Xcode/xc5_release_notes/xc5_release_notes.html#//apple_ref/doc/uid/TP40001051-CH2-SW1
they point out:

	? Projects not able to support 64-bit need to specifically set the architectures build setting to $(ARCHS_STANDARD_32_BIT).

I am not 100% certain yet, whether, pjsip iOS-projects in general do not support 64-bit and hence always need this setting (i.e. $(ARCHS_STANDARD_32_BIT)), even for DISTRIBUTION.

Maybe somebody can clarify this.

Thanks and regards,

-Thomas



On 19 Aug 2014, at 14:48 , Thomas Martin <tmemail at gmx.de> wrote:

> Hi,
> 
> after updating to Xcode5.1, compilation stops with:
> 
>  "Please specify target machine.? and "PJ_HAS_PENTIUM is not defined!?
> 
> when building for device.
> 
> What is the recommended way to resolve this ?
> 
> 
> Also after updating to Xcode5.1, when building for simulator, linking suddenly fails with:
> 
> ld: warning: ignoring file .../simulator/pjproject/pjmedia/lib/libpjsdp-arm-apple-darwin10.a, file was built for archive which is not the architecture being linked (x86_64): .../simulator/pjproject/pjmedia/lib/libpjsdp-arm-apple-darwin10.a
> 
> for every libpjxxx-arm-apple-darwin10.a
> 
> unless you change "Build Active Architecture Only? to ?YES?, in which case the app compiles and links fine for the simulator.
> 
> Thanks for any suggestions!
> 
> Regards,
> 
> -Thomas
> _______________________________________________
> 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




[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