No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64 arm64e armv7 armv7s).
1.最近更新了Xcode 12.0,运行iOS项目报出No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64 arm64e armv7 armv7s)
错误,
报错原因已经给出,
VALID_ARCHS
缺少 x86_64
导致的,所以在项目 TARGETS
的 Build Settings
里搜索 VALID_ARCHS
,然后添加上 x86_64
再运行截屏.png
网友评论