Xcode 12 building for iOS Simulator, but linking in object file built for iOS, for architecture ...

Xcode 12 来了 相信很多开发者也迫不及待的升级了,

升级完之后构建之前的App 发现 咦~~~~ 模拟器跑不了了?

building for iOS Simulator, but linking in object file built for iOS, for architecture arm64

看到错误 我猛然想到了苹果废除 32位应用, 

现在模拟器运行不了大概也是想着从开发过程就给控制住吧.

解决方法:

Build Setting  搜索 VALID_ARCHS 将 整个删除  这个也是apple 推荐的做法

你可能感兴趣的:(Xcode 12 building for iOS Simulator, but linking in object file built for iOS, for architecture ...)