Xcode升级12.0--build失败building for iOS Simulator, but linking in object file built for iOS, file '/...

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

Xcode升级12.0之后,在模拟器上运行报错,后来在网上找到了一些解决方案,用的是这个楼主的building for iOS Simulator, but linking in object file built for iOS, - // ,我试了最后一种方式,成功运行了!

如下,在两处修改:





但是:之前的操作是在模拟器上没有问题了,但是当我在真机的时候又出现这样的问题:

*****'s architectures (armv7) include none that yaru can execute (arm64e, arm64v8, arm64, armv8).

我就把ExcludedArchitectures下添加的arm64去掉了. 然后就好使了.  大家如果遇到这样的情况可以这样试一下~

你可能感兴趣的:(Xcode升级12.0--build失败building for iOS Simulator, but linking in object file built for iOS, file '/...)