When I update to Xcode 12 beta 5, I can't build my project as usually. It's normal with Xcode 11.6 and Xcode 12 beta 4.
Check dependencies
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 arm64)
Does someone facing the same issue?
在“构建设置”中,转到“用户定义->VALID_ARCHS”并添加 x86_64。
1, Target -> "Build settings" -> "User-Defined" -> "VALID_ARCHS" and add "x86_64", it works.
2, Target -> "Build settings" -> "User-Defined", delete "VALID_ARCHS", it works too.
Because Xcode 12 has eliminated "VALID_ARCHS".
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.