这个Xcode警告是什么意思? “应用程序可执行文件缺少必需的体系结构..." [英] What does this Xcode warning mean? "application executable is missing required architecture. ..."

查看:120
本文介绍了这个Xcode警告是什么意思? “应用程序可执行文件缺少必需的体系结构..."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我建立&在我的iPod touch第4代(第一个带有视网膜显示器)的Xcode 4.2中为iOS 5运行我的应用程序,我收到此警告:

When I build & run my app for iOS 5 in Xcode 4.2 for my iPod touch 4th generation (the first one with retina display), I get this warning:


警告:iPhone / iPod Touch:应用程序可执行文件缺少
所需的体系结构。必须至少存在以下架构
中的一个:armv6(-19033)

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

虽然它警告过缺少架构,应用程序在我的iPod touch上运行。我应该做些什么来消除这个警告?

Although it warned about a missing architecture, the app runs on my iPod touch. What am I supposed to do to get rid of this warning?

这是我在构建设置中看到的。没有其他架构可供选择而不是armv7(我认为它是iPhone 3GS以及可能所有后续设备的特殊架构):

This is what I see in my build settings. There's no other architecture to choose from than armv7 (which I think was the special one for the iPhone 3GS and possibly all subsequent devices):

推荐答案

手动添加字符串armv6(不含引号)作为新的拱门类型(通过双击标准(armv7)行,然后单击弹出窗口底部的+按钮),在清理和构建之后错误消失。

Manually add the string "armv6" (without quotes) as a new arch type (by double clicking the "Standard (armv7)" line, then click the + button at the bottom of the popup), and the error goes away after a "Clean", and "build".

这篇关于这个Xcode警告是什么意思? “应用程序可执行文件缺少必需的体系结构..."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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