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

后端 未结 12 1579
时光说笑
时光说笑 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:14

    I was able to silence these warnings by changing my Valid Architectures setting to $(ARCHS_STANDARD) which matches my Architectures setting as well.

    Oddly, this displayed as armv7 arm64 (in comparison to the default setting of armv7 armv7s arm64), but setting it to that value manually still caused the warnings. Not sure what the significance of that is, but I haven't noticed any problems in my testing yet.

    0 讨论(0)
  • 2020-12-08 02:14

    For the TARGET which report warnings, Change the "Valid Architecture" setting to:

    $(VALID_ARCHS)
    x86_64
    

    0 讨论(0)
  • 2020-12-08 02:15

    I have seen the same warning as I building my framework. After a while noticed these valid architecture values vary depending on the type of devices regardless the values in build settings.

    Real devices-> arm64 
    Simulator devices ->x86-64
    
    0 讨论(0)
  • 2020-12-08 02:15

    if your [build Settings] is armv7 armv7s arm64, please delete armv7s. the warning will be cancelled.

    0 讨论(0)
  • 2020-12-08 02:16

    I found the easiest way to resolve this was to open the project in my text editor, then find and delete all VALID_ARCHS lines.

    0 讨论(0)
  • 2020-12-08 02:19

    Go to Build Settings and do as shown below

    0 讨论(0)
提交回复
热议问题