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

2019-02-06 08:51发布

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.

5条回答
何必那么认真
2楼-- · 2019-02-06 09:23

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

查看更多
欢心
3楼-- · 2019-02-06 09:31

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.

查看更多
疯言疯语
4楼-- · 2019-02-06 09:35

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

查看更多
做个烂人
5楼-- · 2019-02-06 09:36
  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

查看更多
太酷不给撩
6楼-- · 2019-02-06 09:40

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

查看更多
登录 后发表回答