简体   繁体   English

警告:架构的armv7 armv7s'不包含所有必需的架构'arm64'

[英]Warning: architectures 'armv7 armv7s' didn't contain all required architectures 'arm64'

There is a warning in a Xcode project: Xcode项目中有一个警告:

crypto was rejected as an implicit dependency for 'libcrypto.a' because its architectures 'armv7 armv7s' didn't contain all required architectures 'arm64'sasl2 was rejected as an implicit dependency for 'libsasl2.a' because its architectures 'armv7 armv7s' didn't contain all required architectures 'arm64'ssl was rejected as an implicit dependency for 'libssl.a' because its architectures 'armv7 armv7s' didn't contain all required architectures 'arm64' crypto被拒绝作为'libcrypto.a'的隐式依赖,因为它的架构'armv7 armv7s'不包含所有必需的架构'arm64'sasl2被拒绝作为'libsasl2.a'的隐式依赖,因为它的架构'armv7 armv7s'没有包含所有必需的架构'arm64'ssl被拒绝作为'libssl.a'的隐式依赖,因为它的架构'armv7 armv7s'不包含所有必需的架构'arm64'

What should I fix this warning? 我应该怎么解决这个警告?

Remove the ARM64 architecture from your project Build setting. 从项目构建设置中删除ARM64体系结构。 Because the libraries you are using do not support the new ARM64 architecture. 因为您使用的库不支持新的ARM64体系结构。

Removing ARM64 is no longer an option… 删除ARM64不再是一个选项......

Beginning on February 1, 2015 new iOS apps submitted to the App Store must include 64-bit support and be built with the iOS 8 SDK. 从2015年2月1日开始,提交到App Store的新iOS应用必须包含64位支持,并使用iOS 8 SDK构建。 Beginning June 1, 2015 app updates will also need to follow the same requirements. 从2015年6月1日开始,应用更新也需要遵循相同的要求。 To enable 64-bit in your project, we recommend using the default Xcode build setting of “Standard architectures” to build a single binary with both 32-bit and 64-bit code. 要在项目中启用64位,我们建议使用“标准体系结构”的默认Xcode构建设置来构建包含32位和64位代码的单个二进制文件。

This settings worked for me. 这个设置对我有用。 Note Build Active Architecture Only settings for debug and release 注意构建仅用于调试和发布的Active Architecture设置

从架构中删除$(ARCHS_STANDARD)并用armv7替换它,armv7s解决了这个问题

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 arm64 armv7 armv7s架构设置 - arm64 armv7 armv7s Architectures settings 构建多个体系结构的框架(arm64,armv7,armv7s) - Build framework for multiple architectures (arm64, 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) 在Armv7,Arv7和arm64中使用Linphone - Use Linphone in Armv7s, Armv7 and arm64 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 = armv7,armv7s,VALID_ARCHS = armv7 armv7s) - No architectures to compile for (ARCHS=armv7,armv7s, VALID_ARCHS=armv7 armv7s) Xcode 9没有要编译的体系结构(ARCHS = arm64,VALID_ARCHS = armv6 armv7) - Xcode 9 No architectures to compile for (ARCHS=arm64, VALID_ARCHS=armv6 armv7) “包含arm64的应用程序必须包括armv7和armv7s架构”应用程序加载器出错 - “Apps that include an arm64 are required to include to include both armv7 and armv7s architecture” Error in application loader Worklight 6.0.0.1 iOS Native Library仅适用于ARMv7而不适用于ARMv7和ARM64? - Worklight 6.0.0.1 iOS Native Library only for ARMv7 and not for ARMv7s and ARM64?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM