No architectures to compile for (ARCHS=arm6 arm7, VALID_ARCHS=armv7)

后端 未结 7 1239
野性不改
野性不改 2021-01-01 11:49

I am constantly getting below error while building app:

No architectures to compile for (ARCHS=arm6 arm7, VALID_ARCHS=armv7).

I tried addin

相关标签:
7条回答
  • 2021-01-01 12:36

    You must take two steps:

    • Go to Project Target > Build Settings > Architectures Delete whatever you see there, and then add these rows one by one:

      armv6 armv7

    There are no 'save' buttons there, so what I do, is adding another blank row, pressing enter, removing it, and then clicking out somewhere else, so that I make sure I have both of them added:

    enter image description here

    • Now go to the AppName-Info.plist file, and look for the key "Require device capabilities" and delete it all.

    Now it's done.

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