简体   繁体   中英

xcode7 not showing simulator iOS 9.0 destination options

Installed the Xcode 7 beta. Can't run any code because Xcode only seems to allow me to choose "iOS Device" destination and none of the sim devices I would normally expect. The project is set to iOS 9.0 target and Universal. And it's a basic, new project.

Here's what I tried:

  1. Changing the target to iOS 8.0, then I see sim devices. But I want to run iOS 9.0
  2. Xcode Menu > Preferences > Downloads > only see iOS 8.3, 8.2 downloadable... don't see mention of iOS 9.0
  3. Xcode Menu > Open Developer Tools. See option for iOS Simulator and iOS Simulator (Watch). If I open iOS Simulator (not the watch), it opens up iOS Simulator 9.0 but running a watch
  4. So looks like the iOS 9 simulator is installed but only for the watch. Odd.
  5. Xcode Menu > Preferences > Locations > switched Command Line Tools to Xcode 7.0

OK found it... go to window > devices, hit "+" there and add an iOS 9.0 simulator. Weird... don't remember ever having to do this before (the simulators for all the iOS version / physical device types) just were there automatically.

if your project deployment target is set to above 9.0, then you won't be able to see the list of simulators. You need to change the Xcode project deployment target to 8.0.

找到解决方案,转到〜/ Library / Developer / CoreSimulator并删除“ devices ”文件夹,然后重新启动 Xcode,现在您可以看到所有模拟器。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM