iPhone apps should include an armv6 architecture

来源:互联网 发布:kofi2012知乎 编辑:程序博客网 时间:2024/05/18 07:24

解 决:选择项目下的生成目标,点到 设置中的 Build Setting ,在Architectures项目下选择对应的发布设置项(对应开发许可的那项),删除原来的 '$(ARCHS_STANDARD_32_BIT)' 项,手工添加armv6、armv7,即可。

原文:

  1. Click your Project name (in the left column), followed by the Target:

    enter image description here

  2. Click the 'Build Settings' tab (in the right column):

    enter image description here

  3. Click the 'Release' or 'Distribution' row under 'Architectures', and choose 'Other...':

    enter image description here

  4. Double click the highlighted row named '$(ARCHS_STANDARD_32_BIT)' in the popover that appears, and replace it by typing 'armv6'. Then add a new row with the plus button in the bottom left of the popover, and type 'armv7', then click Done:

    enter image description here

That's it. You should now be able to build/archive without generating errors.

0 0
原创粉丝点击