XCode 4 active architecture setting

2019-04-09 23:53发布

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.

标签: xcode4 armv6
2条回答
爷的心禁止访问
2楼-- · 2019-04-10 00:12

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.

查看更多
▲ chillily
3楼-- · 2019-04-10 00:34

It is still possible to change the Architecure settings in Xcode 4. Select the project file in the Project Navigator. Then select the target you like to build. Then select build settings->All->Levels. In the search box enter "architectures". You should see the Architectures and Build Active Architecture settings.

查看更多
登录 后发表回答