1、模拟器编译
building for iOS Simulator, but linking in object file built for iOS,……or architecture arm64
2、打包上传
ERROR ITMS-90086: "Missing 64-bit support. iOS apps submitted to the App Store must include 64-bit support and be built with the iOS 8 SDK or later. We recommend using the default "Standard Architectures" build setting for "Architectures" in Xcode, to build a single binary with both 32-bit and 64-bit support."
ERROR ITMS-90203: "Invalid architecture: Apps that include an app extension and framework must support arm64."
解决办法
出现问题原因是升级Xcode12之后 苹果废除了 32位应用
在模拟器Release模式
TARGETS-->Build Settings--> Architectures
Excluded Architectures 加上的 arm64
Build Active Architecture Only 设置为 No
模拟器Debug模式,真机调试,打包上架
TARGETS-->Build Settings--> Architectures
Excluded Architectures 中 arm64 删掉
Build Active Architecture Only 设置 Yes。