How do I deploy to a iOS 3.1.3 device with Xcode 4?
3 Answers
If you're using Xcode 4.2 (I don't remember the exact version on which support for iOS 3 was made on demand) you need to go to
Xcode -> Preferences -> Downloads and install support for the devices you require (3.0 - 3.2.2 and 4.0 - 4.1 show up on mine).
After you have done that just select your deployment target to 3.1.3 (or below) and you're good to go.
Comments
Follow the steps in Ignacio's answer to install debugging support for iOS 3.x. (I think this is optional.)
Go to the project (not the target)
Infotab. Change theiOS Deployment Targetto3.1or earlier.Go to the project (not the target)
Build Settingstab. Change theArchitecturestoarmv6. (Click onarmv7-> PressOther-> Press+-> Enterarmv6-> PressDone.Go to
Info.plist. Change theRequired device capabilities' item 0 toarmv6.