xcode 没有要编译的架构 (ARCHS=, VALID_ARCHS=armv7 armv7s)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13305650/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
No architectures to compile for (ARCHS=, VALID_ARCHS=armv7 armv7s)
提问by momo
I am using Xcode 4.5.2 and have a project which cannot be compiled for an iPhone running iOS 6.0.1 though other projects compile fine with the same settings as shown in the picture below.
我正在使用 Xcode 4.5.2 并且有一个无法为运行 iOS 6.0.1 的 iPhone 编译的项目,尽管其他项目使用下图所示的相同设置编译得很好。
Any ideas on how to solve this?
关于如何解决这个问题的任何想法?
回答by NikosM
You're probably using some third party lib that doesn't yet support armv7s architecture. You can just remove armv7s from your settings. Your app will still be able to run on iPhone 5 although it might not be taking full advantage of the new architecture.
您可能正在使用一些尚不支持 armv7s 架构的第三方库。您可以从设置中删除 armv7s。您的应用程序仍然可以在 iPhone 5 上运行,尽管它可能没有充分利用新架构。
回答by kotak
Set valid architecture for iOs simulator to armv7 and armv7s.( simulators are 32 bit ). for device set to arm64 (64 bit all new ios device).
将 iOs 模拟器的有效架构设置为 armv7 和 armv7s。(模拟器为 32 位)。对于设置为 arm64(64 位全新 ios 设备)的设备。