问题
I am trying to change the deployment target from 5.1 to 4.2 in Xcode 4.4 and it's not working
- I downloaded debugging support for 4.1-4.2
- I set Architecture to armv6 armv7
- I set in plist armv6 armv7
- I don't use storyboards
回答1:
It's a known bug. XCode 4.4 doesn't let you target armv6 architecture. You'll have to downgrade to Xcode 4.3.3 to do this (learned it the hard way :-/). You'll have to download 4.3.3 from the Apple dev website.
Also, make sure not to run both 4.4 and 4.3.3 at once. My mac was semi frozen for an hour until I managed to force kill these two processes.
Update: This bug has been fixed in the newer versions of the XCode.
回答2:
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. (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.)
来源:https://stackoverflow.com/questions/11746735/how-to-change-deployment-target-from-ios-5-1-to-4-2-in-xcode-4-4