2014-04-24 38 views
0

安装一个应用程序,我建立了一个iPhone应用程序,它工作正常在iPhone 5,5S,但是当我尝试在iPhone 4上安装它,我得到一个错误:错误而在Xcode

无法安装的设备应用程序,Error:kAMDIncorrectArchitectureError

我检查了我的项目设置,并且已经添加了armv7。 什么可能导致此错误?

+0

我想如果您支持armv7s(64位版本),您将无法支持iPhone 4. – Popeye

+0

您是否在Windows上使用iPhone配置实用程序安装它? – Larme

+0

是的,在Windows上使用iPhone配置实用程序。 – user3550405

回答

2

请检查下面的东西可能会对您有所帮助。

在项目目标的设置,请确保您有:

Architectures should be: Standard architecture (armv7 armv7s) 

Valid architectures: should be arm64 armv7 armv7s (add these three things) 


Build Active Architecture Only should be No 

同时确保,干净的所有目标,然后建立后。

+0

我想支持iPhone 4,5和5S。 – user3550405

+0

请参阅我编辑的答案 –

+0

谢谢,保存了我的一天! – user3550405