Testing iPhone app on older OS versions in Xcode
All, Is there a way to download older versions of the iPhone simulator to test an application with an older version of the iPhone O开发者_C百科S? I'm running Xcode 3.2.2. and it only has iPhone OS 3.1.3 and I need to test on 3.1.2.
Thanks in advance
Head to
http://connect.apple.com
Click "Developer Tools" on the right
You can get all the way back to Xcode 1.0 if you like
I've been trying to do the same thing. The answer seems to be rather unsatisfying: You cannot use the simulator to test if your app runs on a previous iOS version. It only works on the device, according to Apple:
iPhone OS Note: Mac OS X v10.6 does not support using iPhone Simulator SDKs prior to version 3.0. In addition, when building with the simulator SDKs, the binary runs only on the same OS version as the SDK, not on earlier or later versions.
This seems really dull. How am I supposed to test backwards compatibility without having one physical iPhone for each SDK version? Not good.
精彩评论