XCode 4 active architecture setting

会有一股神秘感。 提交于 2019-12-06 06:09:41

问题


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.


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/5369569/xcode-4-active-architecture-setting

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!