美文网首页
Xcode 报错architectures (armv7) in

Xcode 报错architectures (armv7) in

作者: 如此之6 | 来源:发表于2020-12-08 14:22 被阅读0次

老项目在新版Xcode上真机编译报错 architectures (armv7) include none that iPhone (66) can execute (arm64v8, arm64, armv8) ,解决频繁修改设置的问题;

暂时可以解决的方案是 

Target — Build Settings — Excluded Architecture 里去除arm64,模拟器运行的时候在加上arm64。

上面的方法在切换模拟器和真机时都要修改工程设置,很麻烦。最近想到了一个办法来规避频繁修改的问题,看图!!!!针对模拟器单独屏蔽arm64.

另外老项目打开后建议删除VALID_ARCHS,会减少很多问题

相关文章

网友评论

      本文标题:Xcode 报错architectures (armv7) in

      本文链接:https://www.haomeiwen.com/subject/ddnfgktx.html