Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已将 XCode 更新到最新的 4 版本(最终版本)。我的项目依赖于为 armv6 构建的第 3 方库。
问题是我不能像在 3.xx 中那样更改“活动架构”,而是我看到在链接期间活动架构标志始终作为 armv7 传递。
有谁知道如何为构建目标(或方案)设置活动架构?
提前致谢。
回答我自己...
是和不是。你不能改变弧线,但你可以欺骗 Xcode。将其设置为不仅针对活动架构进行编译,并且仅在列表中保留 archv6。希望它对寻找答案的人有所帮助。
仍然可以在 Xcode 4 中更改架构设置。在 Project Navigator 中选择项目文件。然后选择您要构建的目标。然后选择构建设置->所有->级别。在搜索框中输入“架构”。您应该会看到Architectures和Build Active Architecture设置。