现在的位置: 首页 > 综合 > 正文

iPhone开发–提交appStore审核时出现的问题–iPhone/iPod Touch: application executable is missing a required archit

2018年08月07日 ⁄ 综合 ⁄ 共 784字 ⁄ 字号 评论关闭

昨天下午,同事用xcode4.2向appStore提交应用程序时,提示如下的错误:

iPhone/iPod Touch: application executable is missing a required architecture. At least one of the following architecture(s)
must be present: armv6

截图如下:


产生这个错误,很是疑惑,尝试了几个办法,都失败了,无奈之下,只好求助伟大的stackoverflow。解决办法翻译如下:


如果你的xcode是4.2以上的版本的话,请尝试一下的解决办法:

1.点击你的项目名称(在左侧栏),之后点击Target:


2.点击'Build
Settings' (在右侧栏):


3.打开‘Architectures’标签,点击名称为 'Release'
或者 'Distribution' 的行,选择'Other...':


4.双击名称为'$(ARCHS_STANDARD_32_BIT)'的行,使之成为可编辑状态,删除文字,输入armv6。再点击左下角的“+”号,在出现的栏中输入armv7。最后点击“done”按钮。


以上就是解决方法了,下面你再尝试“build/archive”就可能不会出现上述的错误信息了。


如果问题依旧,请尝试该链接this
answer from justinxreese
,就是在你的info.plist文件中的"Required
Device Capabilities"加入全部的 armv6 和 armv7的信息。

stackoverflow的链接地址如下:http://stackoverflow.com/questions/4198676/warning-iphone-apps-should-include-an-armv6-architecture-even-with-build-config

抱歉!评论已关闭.