XCode 4 主动架构设置 [英] XCode 4 active architecture setting

查看:30
本文介绍了XCode 4 主动架构设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将 XCode 更新到最新的 4 版本(最终版).我的项目依赖于为 armv6 构建的第 3 方库.

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

问题是我无法像在 3.x.x 中那样更改活动架构",相反我看到在链接期间,活动架构标志始终作为 armv7 传递.

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) ?

提前致谢.

推荐答案

回答自己...

是和否.你不能改变弧线,但你可以欺骗 Xcode.将其设置为不仅针对活动架构进行编译,并且仅在列表中保留 archv6.希望它对寻找答案的人有所帮助.

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 主动架构设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆