Why can't I see the iOS 7.0 simulator in Xcode on Yosemite?

不打扰是莪最后的温柔 提交于 2020-01-10 14:11:55

问题


I need to do some testing on an iOS 7.0.3 Simulator, but when I go to Preferences > Downloads in Xcode (6.0.1) there is no iOS 7.0 Simulator under the Components section.

Could it be because I am running Yosemite? I've heard of Mavericks machines losing support for iOS 6.0, but couldn't find any definitive answer on whether Yosemite has removed support for 7.0 simulators.


回答1:


It's because you're on Yosemite. It doesn't support 7.0 anymore. Had the same issue.




回答2:


XCode 6.1 in Yosemite starts with 7.1, if you need to test older iOS versions you can still install XCode 5.X from Apple's developer downloads site using your developer account. You can have both versions installed in the same machine.




回答3:


  1. Open iOS Simulator is at /Applications/Xcode.app/Contents/Developer/Applications/iOS\ Simulator.app.

  2. Go to Hardware > Devices > Manage Devices

  3. Add a simulator -> Download more simulators > Download iOS 7.1 Simulator




回答4:


You can just copy simulator and framework from previous versions of Xcode. I use this method when I need to compile or test




回答5:


Try this iOS Simulator -> Hardware -> Device -> Manage Devices and add / remove them as required.



来源:https://stackoverflow.com/questions/26364239/why-cant-i-see-the-ios-7-0-simulator-in-xcode-on-yosemite

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