美文网首页
Xcode12报错 No architectures to co

Xcode12报错 No architectures to co

作者: 狂奔的大蜗牛 | 来源:发表于2021-09-07 14:48 被阅读0次

背景:升级到Xcode12之后,项目运行报错,具体报错如下

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64

解决办法:模拟器缺少x86_64指令集,在VALID_ARCHS中Debug模式下添加如下参数即可解决

image.png
参考链接:
https://stackoverflow.com/questions/63988011/

相关文章

网友评论

      本文标题:Xcode12报错 No architectures to co

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