开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜