What does warning “Mapping architecture arm64 to x86_64” mean?

后端 未结 12 1590
时光说笑
时光说笑 2020-12-08 01:30

After migrating my framework to Xcode 10 beta (10L176w) I started to get warnings like:

Mapping architecture arm64 to x86_64. Ensure that this target\

12条回答
  •  星月不相逢
    2020-12-08 02:05

    The solution is simpler: in Valid Architectures just replace arm64 with x86_64.

    Had similar issue and the following three warnings in my project:

    My Valid Archtectures originally were

    Replacing:

    • armv7 with i386,
    • armv7s with i386,
    • and, arm64 with x86_64

    (as mentioned in the Warnings) was my solution. The result in the Valid Architecture setting was:

    After the replacements my three warnings above disappeared.

    More profound info about the Architectures can be found here: https://docs.elementscompiler.com/Platforms/Cocoa/CpuArchitectures/

    I think the formulation of this warning in Xcode is a bit confusion.

提交回复
热议问题