iPhone / iPod Touch:应用程序可执行文件缺少必需的体系结构 [英] iPhone/iPod Touch: application executable is missing a required architecture

查看:99
本文介绍了iPhone / iPod Touch:应用程序可执行文件缺少必需的体系结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

xCode 4.2存在问题。我在构建时遇到此错误:

I have an issue with xCode 4.2. I am getting this error when building:

2011-06-18 13:35:49.839 Validation[4110:607] *** Warning: Defaulting to the standard codesign tool
warning: iPhone/iPod Touch: application executable is missing a required architecture.  At least one of the following architecture(s) must be present: armv6 (-19033)
Unable to validate your application. - (null)

我查看了我的项目设置,它有:

I had a look at my project settings, and it has :

architectures: Standard (arm7) - ${ARCHS_STANDARD_32_BIT)
Build active architecture only : NO

不确定

推荐答案

由于某种原因,xCode 4.2的默认架构设置仅适用于armv7。
转到目标 - >构建设置 - >架构 - >在价值下拉选择其他......上发布

For some reason the default architecture settings with xCode 4.2 is only for armv7. Go to Target -> Build Settings -> Architectures -> Release on value dropdown pick "Other...",

删除$( ARCHS_STANDARD_32_BIT),首先使用armv6和第二个armv7添加2行



完成

remove $(ARCHS_STANDARD_32_BIT), and add 2 rows first with "armv6" and second "armv7"
Done

这篇关于iPhone / iPod Touch:应用程序可执行文件缺少必需的体系结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆