Xcode - Run Simulator with older iOS Version

2019-01-22 13:25发布

Hey I have done a lot of looking around and seen many answers for how to do this in older versions of Xcode, but they don't seem to aplly to Xcode 6. So how can I run an older version of iOS in the simulator with Xcode 6.

Thanks for the help

2条回答
放荡不羁爱自由
2楼-- · 2019-01-22 13:27

In the Downloads pane of Xcode's Preferences, download the iOS 7 or 7.1 simulator.

After it is downloaded, go to the Devices window (Window -> Devices) and click the Plus button to make a new simulated device with the system version you want. For example you might decide to make an iPhone 4s that's running iOS 7.

Now you'll be able to choose that device/system as the destination when you build and run.

查看更多
霸刀☆藐视天下
3楼-- · 2019-01-22 13:36

Please note that matt's solution is not available on new version of OS X (El Capitan). Here are all the available Simulators:

enter image description here

查看更多
登录 后发表回答