iOS10以上打包只有arm64 clang: error: invalid iOS deployment version '--target=armv7-apple-ios11.0', iOS 10 is the maximum deployment target for 32-bit targets [-Winvalid-ios-deployment-target]

问题描述:

系统版本选择11.0,如下图:

iOS10以上打包只有arm64   clang: error: invalid iOS deployment version '--target=armv7-apple-ios11.0', iOS 10 is the maximum deployment target for 32-bit targets [-Winvalid-ios-deployment-target]

指令集设置armv7 和 arm64

iOS10以上打包只有arm64   clang: error: invalid iOS deployment version '--target=armv7-apple-ios11.0', iOS 10 is the maximum deployment target for 32-bit targets [-Winvalid-ios-deployment-target]

 

 打包出来的app只支持arm64 ,如下图:

iOS10以上打包只有arm64   clang: error: invalid iOS deployment version '--target=armv7-apple-ios11.0', iOS 10 is the maximum deployment target for 32-bit targets [-Winvalid-ios-deployment-target]

 

 

解决:修改适配系统版本到iOS10以下即可,

分析: 修改Architectures 为 arm64、armv7  支持的指令集是Architectures  和 Valid Architectures的交集,再次编辑的时候会提示错误,如下图:

iOS10以上打包只有arm64   clang: error: invalid iOS deployment version '--target=armv7-apple-ios11.0', iOS 10 is the maximum deployment target for 32-bit targets [-Winvalid-ios-deployment-target]

 

 

iOS10以上打包只有arm64   clang: error: invalid iOS deployment version '--target=armv7-apple-ios11.0', iOS 10 is the maximum deployment target for 32-bit targets [-Winvalid-ios-deployment-target]

 

提示: 32位 最大支持iOS 10.0版本

 

iOS10以上打包只有arm64 clang: error: invalid iOS deployment version '--target=armv7-apple-ios11.0', iOS 10 is the maximum deployment target for 32-bit targets [-Winvalid-ios-deployment-target]

上一篇:高通推出新的智能手表芯片,为安卓系统注入新的活力


下一篇:【bWAPP】0X03 HTML Injection - Stored (Blog)