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

前端 未结 3 1339
后悔当初
后悔当初 2020-12-09 09:33

While using the iphone simulator 64 bit, i\'m getting the following architecture error. Also using the xcode 5.0. Any suggestions.

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-09 10:10

    have a look under your build settings, check that the setting Build Active Architecture Only is set to No (might make compiling a bit slower but should fix the problem)

    Also check that the Valid Architectures has arm64 in the list

    Note if you are getting an error when submitting an app saying "Apps that include an arm64 architecture are required to include both armv7 and armv7s architectures”, setting it to No will also fix this

提交回复
热议问题