代码之家  ›  专栏  ›  技术社区  ›  bezigon

Xcode 9:%appName%没有%deviceName%可以执行的体系结构

  •  0
  • bezigon  · 技术社区  · 8 年前

    %appName% does not have an architecture that %deviceName% can execute.
    

    example of such wtf

    Target 'Pods-%appName%' of project 'Pods' was rejected as an implicit dependency for 'Pods_%appName%.framework' because its architectures 'armv7' didn't contain all required architectures 'arm64'
    

    example of such wtf

    尽管如此,我有正确的项目设置:

    1. Valid Arhitectures arm64 armv7 armv7s
    2. Build Active Architecture Only 在中启用 Debug 仅限模式。

    很长一段时间我都不明白原因。我踩着耙子走错了路。我在SO学习了所有关于Xcode/Cocoapods的问题,但没有得到答案。

    如果您遇到此类错误,解决方案如下所示。

    1 回复  |  直到 8 年前
        1
  •  0
  •   bezigon    8 年前

    阅读 architecture target ,更改 到适当的一个,如在设备上。