问题描述:

系统版本选择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版本

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2022-12-23
  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2022-01-13
猜你喜欢
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案