the linked library is missing one or more architectures required by this target

291 阅读1分钟

the linked library is missing one or more architectures required by this target:x86_64。

当在m1核心的mac中碰到这个问题时,在target的excluded architectures中,分别加入debug和release的Any iOS Simulator SDK为arm64。在project的excluded architectures也这么加。

最后请记得clean一下(command+shift+k)。

摘引自:stackoverflow.com/questions/6…