According to the documentation should be able to choose which iOS version the simulator should run, however only the latest 4.3.2 is listed under “Hardware/Version”.
The helps says:
“To set the iOS release used in the simulation environment, choose Hardware > Version, and choose the version you want to test on.”
I don’t want to support 3.x (although it would be nice) but at least I want to simulate my app on 4.2, 4.1 and 4.0.
What’s going on? Why aren’t they listed?
UPDATE:
I’m on Lion so I cannot install an earlier version of Xcode. Before my Upgrade I could test different versions easily.
the problem is that you have no other Simulator SDK installed which can be used. As @dorada has mentioned you have to install an older Xcode which in fact doesn’t work because you’re using Lion. I haven’t tried it with Lion but principally it should work like before with Snow Leopard.
I’m referencing to my other answer how to get an older Xcode (don’t know if it’s still working)
After you have an older Xcode version, mount the image an navigate with terminal to that volume. There should be a hidden folder
Packages. open that folder withopen .and locate the two.pkgfiles you need (e.g.iPhoneSDK4_0.pkgandiPhoneSimulatorSDK4_0.pkg) and install both.They will appear in your root directory and you have to move them to your
Developerdir (don’t simply overwrite, it will delete all other SDKs. go to the last different folder it should beiPhoneSimulator4.0.sdk\and copy that one)DONE (and at that point I have verified it: it works on my Lion. I used the dvd image which I have started backup’ing since 3.2.1)