Xcode - Run Simulator with older iOS Version

纵然是瞬间 提交于 2019-12-17 22:47:09

问题


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


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/26788426/xcode-run-simulator-with-older-ios-version

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!