Configure Active Xcode 4 Architecture

I upgraded Xcode to the latest version 4 (final). My project depends on a third-party library that was created for armv6.

The problem is that I cannot change the "active architecture", as it was in 3.xx, instead I see that during linking, the flag of the active architecture is always passed as armv7.

Does anyone know how to set an active architecture for a build purpose (or for a circuit)?

Thanks in advance.

+4
source share
2 answers

Answering the question ...

Yes and no. You cannot change the arc, but you can trick Xcode. Specify it for compilation not only for active architecture, but also leave archv6 in the list. Hope this helps someone looking for an answer.

+2
source

You can still change the Architecure settings in Xcode 4. Select the project file in the Project Navigator. Then select the goal you want to build. Then select build options → All → Levels. In the search box, enter "architecture." You should see the architecture settings and builds of the active architecture.

+1
source

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


All Articles