No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7, VALID_ARCHS=armv6 i386)

后端 未结 3 2014
刺人心
刺人心 2021-01-02 03:09

I am getting this error while building my iOS app.

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7, VALID_ARCHS=armv6 i386).

相关标签:
3条回答
  • 2021-01-02 03:22

    1.Please check your project Architectures. You can find about architectures follow this: enter image description here

    From your target - Build Settings - Architectures, see the screenshot.

    2.The Build Active Architecture Only the following Debug is set to YES.

    Reference:iOS currently has the following instruction set:

    (1). armv6, support machines iPhone, iPhone2, iPhone3G and the corresponding iTouch

    (2). armv7, support machines iPhone4, iPhone4S

    (3). armv7s, support machines iPhone5, iPhone5C

    (4). arm64, support machines: iPhone5S

    0 讨论(0)
  • 2021-01-02 03:31

    Go to your project, open Project (not target) ->Build Settings and set Build Active Architecture Only to NO:

    Change Only Active Architecture

    0 讨论(0)
  • 2021-01-02 03:38

    You can add armv7 in you valid architecture list.

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