XCode 4 active architecture setting

Dima Gutzeit picture Dima Gutzeit · Mar 20, 2011 · Viewed 9.5k times · Source

I've updated the XCode to the latest 4 version (final). My project depends on a 3rd party library that was build for armv6.

The problem is that i can not change the "active architecture" as it was in 3.x.x instead I see that during linking the active architecture flag is always passed as armv7.

Does anyone know how to set active architecture for the build target (or for scheme) ?

Thanks in advance.

Answer

Dima Gutzeit picture Dima Gutzeit · May 24, 2011

Answering to myself ...

Yes and no. You can not change the arc but you can trick the Xcode. Set it to compile not only for active architecture and leave only archv6 in the list. Hope it helps to whoever looks for an answer.