欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  移动技术

Xcode升级12.0--build失败building for iOS Simulator, ....for architecture arm64

程序员文章站 2022-03-29 23:08:53
building for iOS Simulator, but linking in object file built for iOS, file '****for architecture arm64Xcode升级12.0之后,在模拟器上运行报错,在网上找到了一下, 总结一下自己试了成功了的方法。如下,在两处修改:Build Settings -> search "exclude" -> 得到下面的????结果在真机的时候可能出现这样的问题:*****'s arc...

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

Xcode升级12.0之后,在模拟器上运行报错,在网上找到了一下, 总结一下自己试了成功了的方法。

如下,在两处修改:

Build Settings -> search "exclude" -> 得到下面的????结果

Xcode升级12.0--build失败building for iOS Simulator, ....for architecture arm64

Xcode升级12.0--build失败building for iOS Simulator, ....for architecture arm64

在真机的时候可能出现这样的问题:

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

把ExcludedArchitectures下添加的arm64去掉了然后又ok了

本文地址:https://blog.csdn.net/sirodeng/article/details/112557724