XCode 4.5(4G182)+ iPhone 5 iOS6 - 选择具有支持的体系结构的目标,以便在此设备上运行 [英] XCode 4.5 (4G182) + iPhone 5 iOS6 - Choose a destination with a supported architecture in order to run on this device

查看:111
本文介绍了XCode 4.5(4G182)+ iPhone 5 iOS6 - 选择具有支持的体系结构的目标,以便在此设备上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我有一个全新的应用程序,我昨晚为iOS6创建,使用XCode 4.5。我可以使用iOS6在我的iPhone 4上正常开发。

So I have a brand new app I created last night for iOS6, using XCode 4.5. I can properly develop on my iPhone 4 with iOS6.

今天我用iOS6获得了我的新iPhone 5,在用新设备UUID更新证书后,我试图运行我的应用程序并得到此错误:

Today I got my new iPhone 5 with iOS6 and, after updating the certificates with the new device UUID, I tried to run my app on it and got this error:


XCode无法使用所选设备运行。选择支持
a架构的目的地,以便在此设备上运行。

XCode cannot run using the selected device. Choose a destination with a supported architecture in order to run on this device.

我已启用设备进行开发。 armv7和armv7都在设置中。

I've enabled the device for development. Both armv7 and armv7s are on the settings.

我已经包含了来自Facebook 3.0 SDK和链接器标志'-lsqlite3.0'的源代码。我猜这个问题必须是相关的,但无法确定是什么问题。

I have included the sources from the Facebook 3.0 SDK and the linker flag '-lsqlite3.0'. I'm guessing the issue has to be related, but cannot figure what is wrong.

任何想法如何解决?

PS:在模拟器上运行应用程序时也会出现问题。不知道我的项目或XCode在昨晚和今天之间发生了什么变化,除了我有新设备和新证书。

PS: The issue happens too when running the app on the simulator. No idea what changed on my project or XCode between last night and today, other than I have a new device and new certificates.


选中destination不支持为其构建所选软件的体系结构。切换到支持该体系结构的目标,以便运行所选软件。

The selected destination does not support the architecture for which the selected software is built. Switch to a destination that supports that architecture in order to run the selected software.


推荐答案

你需要选择编译器LLVM

Also you need to select the compiler LLVM in

项目 - >构建设置 - >构建选项

这篇关于XCode 4.5(4G182)+ iPhone 5 iOS6 - 选择具有支持的体系结构的目标,以便在此设备上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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