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

后端 未结 3 2038
刺人心
刺人心 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条回答
  •  萌比男神i
    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

提交回复
热议问题