[英]No architectures to compile for (ARCHS=, VALID_ARCHS=armv7 armv7s)
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?关于如何解决这个问题的任何想法?
You're probably using some third party lib that doesn't yet support armv7s architecture.您可能正在使用一些尚不支持 armv7s 架构的第三方库。 You can just remove armv7s from your settings.
您可以从设置中删除 armv7s。 Your app will still be able to run on iPhone 5 although it might not be taking full advantage of the new architecture.
您的应用程序仍然可以在 iPhone 5 上运行,尽管它可能没有充分利用新架构。
Set valid architecture for iOs simulator to armv7 and armv7s.( simulators are 32 bit ).将 iOs 模拟器的有效架构设置为 armv7 和 armv7s。(模拟器为 32 位)。 for device set to arm64 (64 bit all new ios device).
对于设置为 arm64(64 位全新 ios 设备)的设备。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.