I made a mistake and decided to order a 4S instead of iPhone 4.
Is it possible to emulate iPhone 4 (iOS 4) in Xcode? I have only played around a little (Xcode 4.2) but so far I see only iPhone 5.0 Simulator, iPad 5.0 Simulator and something called iOS Device.
If I code using only things that are supposed to be available in iOS 4 or lower, but the whole time test using iPhone 5.0 simulator and/or a 4S device, is there a good chance the app will run without problems on an iPhone 4 / iOS 4 device? Of course I would test this before releasing the app, I’m just wondering how much of a problem it will be.
I wouldn’t say buying an iPhone 4 was a “stupid mistake”… you’re probably a bit more “future proofed” with a slightly younger design (an iPhone 4S may support iOS 7 or iOS 8 in a few years whereas Apple will decide to orphan iPhone 4’s sooner than that).
If you have multiple SDK’s installed, you should be able to see the iOS versions you can simulate under the “Hardware” menu and the “Version” submenu.
Right now, I only see iOS 5.0 available to my own simulator, whereas last week I could’ve sworn iOS 4.3 was available as an option for me as well. This probably changed when I updated my Xcode to the new version 4.3 a few days ago.
I’d recommend just sticking with iOS 5.0 for your simulator and device testing for now and by the time you actually release, most of your prospective customers will be off iOS 4.X at that point.