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

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

问题描述

我正在使用xCode 4.2并尝试部署我的应用程序。我没有通过以下错误消息验证:

I am using xCode 4.2 and trying to deploy my application. I am failing the validation with the following error message:

application executable is missing a required architecture armv6

我的架构的值设置为标准(armv7)。这是下拉列表中的唯一选项。
Base SDK:iOS 5.0(这是唯一选项)
部署SDK:3.2
仅构建活动架构:NO
有效架构:armv6 armv7 armv7f armv7k

The value for my Architectures is set to Standard (armv7). This is the ONLY option in the dropdownlist. Base SDK: iOS 5.0 (This is the only option) Deployment SDK: 3.2 Build Active Architecture Only: NO Valid Architectures: armv6 armv7 armv7f armv7k

有谁请知道这个问题的解决方案?

Does anyone please know the solution to this problem?

推荐答案

在Xcode 4.2 GM中,这仍然是一个问题,但您可以通过执行以下操作来解决它。

In the Xcode 4.2 GM this is still a problem but you can resolve it by doing the following.


  1. 切换到xcode项目中的文件/文件夹视图

  1. Switch to the files/folders view in xcode project

选择你的项目(蓝色图标)

Select your Project ( the blue icon)

在屏幕中间的目标下选择您的应用程序。

Select your Application under Targets in the middle of the screen.

转到构建设置

查找体系结构>分发

展开此项部分,以便您可以看到调试和发布

Expand this section so you can see both Debug and Release

将标准(armv7) - $(ARCH_STANDARD_32_BIT)更改为其他......

Change "Standard (armv7) - $(ARCH_STANDARD_32_BIT)" to "Other..."

用armv6替换标准(armv7) - $(ARCH_STANDARD_32_BIT),然后添加新项目armv7

Replace, "Standard (armv7) - $(ARCH_STANDARD_32_BIT)" with "armv6", then add a new item "armv7"

请记住,您可能需要为所有包含的项目执行此操作,例如TAPKU等框架

Remember you may need to do this for all included projects aka frameworks such as TAPKU

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

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