简体   繁体   English

如何在Xcode 4.4中将部署目标从iOS 5.1更改为4.2

[英]How to change deployment target from iOS 5.1 to 4.2 in Xcode 4.4

I am trying to change the deployment target from 5.1 to 4.2 in Xcode 4.4 and it's not working 我正在尝试将Xcode 4.4中的部署目标从5.1更改为4.2,但无法正常工作

  • I downloaded debugging support for 4.1-4.2 我下载了对4.1-4.2的调试支持
  • I set Architecture to armv6 armv7 我将架构设置为armv6 armv7
  • I set in plist armv6 armv7 我在plist中设置armv6 armv7
  • I don't use storyboards 我不使用故事板

It's a known bug . 这是一个已知的错误 XCode 4.4 doesn't let you target armv6 architecture. XCode 4.4不允许您以armv6体系结构为目标。 You'll have to downgrade to Xcode 4.3.3 to do this (learned it the hard way :-/). 您必须降级到Xcode 4.3.3才能做到这一点(很难学到它:-/)。 You'll have to download 4.3.3 from the Apple dev website. 您必须从Apple开发人员网站下载4.3.3。

Also, make sure not to run both 4.4 and 4.3.3 at once. 另外,请确保不要同时运行4.4和4.3.3。 My mac was semi frozen for an hour until I managed to force kill these two processes. 我的Mac被半冻结了一个小时,直到我设法强制杀死这两个进程。

Update: This bug has been fixed in the newer versions of the XCode. 更新:此错误已在较新版本的XCode中修复。

In case anyone is still affected by this issue, it appears to have been fixed. 如果仍然有人受到此问题的影响,则该问题似乎已得到解决。 In Xcode 4.4.1 I do not have this problem. 在Xcode 4.4.1中,我没有这个问题。 (Specifically, when I set architecture to armv6 armv7, I am able to build for an iPhone 3G running 4.2 - I have not tried other combinations.) (特别是,当我将架构设置为armv6 armv7时,我能够为运行4.2的iPhone 3G进行构建-我没有尝试过其他组合。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM