开发者

XCode 3 : linking different libraries depending on architecture (cpu type)

开发者 https://www.devze.com 2023-01-01 21:32 出处:网络
EDIT: This question is probably old it is related to xcode 3. I\'m developing an iPhone app which needed voip suppo开发者_JS百科rt so i added the ARM version of pjsiplibraries. But if I\'m using the

EDIT: This question is probably old it is related to xcode 3.

I'm developing an iPhone app which needed voip suppo开发者_JS百科rt so i added the ARM version of pjsip libraries. But if I'm using the iPhone simulator i want to link the i386 version of the libraries. How can i do that?


I think I solved it at last. You need to go to your project setting and select the build tab. After that select a setting that you want to be conditional for example Other Linker Flags and from the little drop-down thingy at the bottom left select "Add build setting condition". Do this as many times as necessary.

Here is an image to explain it.

0

精彩评论

暂无评论...
验证码 换一张
取 消