简体   繁体   English

没有要编译的架构 (ARCHS=, VALID_ARCHS=armv7 armv7s)

[英]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?关于如何解决这个问题的任何想法?

Xcode 中的架构

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 上运行,尽管它可能没有充分利用新架构。

If on XCODE 12 just goto Build Settings search for VALID_ARCHS.如果在 XCODE 12 上,只需转到 Build Settings 搜索 VALID_ARCHS。 Under the User-Defined section select Valid Architectures and click Delete.在 User-Defined 部分下,选择 Valid Architectures 并单击 Delete。

在此处输入图片说明

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.

相关问题 没有要编译的架构(ARCHS = armv7,armv7s,VALID_ARCHS = armv7 armv7s) - No architectures to compile for (ARCHS=armv7,armv7s, VALID_ARCHS=armv7 armv7s) 检查依赖项...没有要编译的体系结构(ARCHS = i386,VALID_ARCHS = arm64 armv7s armv7) - Check dependencies… No architectures to compile for (ARCHS=i386, VALID_ARCHS=arm64 armv7s armv7) 没有要编译的架构(ARCHS = i386,VALID_ARCHS = arm64 armv7 armv7s) - No architectures to compile for (ARCHS=i386, VALID_ARCHS=arm64 armv7 armv7s) Xcode 9没有要编译的体系结构(ARCHS = arm64,VALID_ARCHS = armv6 armv7) - Xcode 9 No architectures to compile for (ARCHS=arm64, VALID_ARCHS=armv6 armv7) iPhone 5S特定错误:没有要编译的体系结构(ONLY_ACTIVE_ARCH = YES,活动arch = arm64,VALID_ARCHS = armv7 armv7s) - iPhone 5S Specific Error: No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VALID_ARCHS=armv7 armv7s) 没有要编译的体系结构(ARCHS=arm6 arm7,VALID_ARCHS=armv7) - No architectures to compile for (ARCHS=arm6 arm7, VALID_ARCHS=armv7) 没有要编译的体系结构(ONLY_ACTIVE_ARCH = YES,活动arch = armv7,VALID_ARCHS = armv6 i386) - No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7, VALID_ARCHS=armv6 i386) 没有可编译的架构(ARCHS =,VALID_ARCHS = armv7k)Xcode 7 beta 3 - No architectures to compile for (ARCHS=, VALID_ARCHS=armv7k) Xcode 7 beta 3 没有要编译的架构 (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 arm64) Xcode 12 - No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 arm64) Xcode 12 Xcode 12 - 没有要编译的架构(ONLY_ACTIVE_ARCH=YES,active arch=x86_64,VALID_ARCHS=arm64e armv7s arm64 arm7) - Xcode 12 - No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64e armv7s arm64 arm7)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM