XCode 4 活动架构设置
我已经将 XCode 更新到最新的 4 版本(最终版本)。我的项目依赖于为armv6构建的第3方库。
问题是我无法更改“活动架构”,因为它是在 3.xx 中,而是我看到在链接期间活动架构标志始终作为 armv7 传递。
有谁知道如何为构建目标(或方案)设置活动架构?
提前致谢。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对自己回答……
是的,也不是。您无法更改弧线,但可以欺骗 Xcode。将其设置为不仅针对活动架构进行编译,并且仅在列表中保留 archv6。希望对寻求答案的人有所帮助。
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.
仍然可以在 Xcode 4 中更改“Architecure”设置。在“项目导航器”中选择项目文件。然后选择您想要构建的目标。然后选择构建设置->所有->级别。在搜索框中输入“架构”。您应该看到“架构”和“构建活动架构”设置。
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.