Xcode 3: Association of different libraries depending on architecture (processor type)

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

I am developing an iPhone application that needed voip support, so I added the ARM version of the pjsip libraries. But if I use an iPhone simulator, I want to link the version of the i386 libraries. How can i do this?

+3
source share
1 answer

I think I finally decided it. You need to go to your project settings and select the build tab. After that, select the parameter that you want conditionally, for example, other linker flags, and from the small drop-down list at the bottom left, select "Add assembly installation condition". Do this as many times as necessary.

Here is an image to explain this.

+3
source

Source: https://habr.com/ru/post/1748335/


All Articles