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

背景:升级到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 compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64)