从xcode安装应用程序时出错

时间:2014-04-24 10:48:31

标签: ios iphone

我构建了一个iPhone应用程序,它在iPhone 5,5S上工作正常但是当我尝试在iPhone 4上安装它时出现错误:

无法在设备上安装应用Error:kAMDIncorrectArchitectureError

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

1 个答案:

答案 0 :(得分: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

还要确保清除所有目标,然后再构建它。

相关问题