views:

104

answers:

1

I'm developing an iPhone app which needed voip support 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?

+1  A: 

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.

kudor gyozo