Xcode 6.2未在运行目标菜单中显示模拟器设备

use*_*482 0 xcode ios-simulator xcode6

我创建了一个新的iOS项目; 默认情况下,部署目标是iOS 8.2,但我没有选择使用模拟器.我去了Xcode首选项,我没有选择下载iOS 8.2模拟器.我正在使用Xcode版本6.2(6C131e).

如果我试图通过开发人员工具打开模拟器.我收到此错误:

在此输入图像描述

我重命名Xcode.app并重新启动我的mac但没有帮助.

我跑了"xcrun simctl list",我得到了这个列表:

== Device Types ==
iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)
iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)
iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)
iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)
iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)
iPad 2 (com.apple.CoreSimulator.SimDeviceType.iPad-2)
iPad Retina (com.apple.CoreSimulator.SimDeviceType.iPad-Retina)
iPad Air (com.apple.CoreSimulator.SimDeviceType.iPad-Air)
Resizable iPhone (com.apple.CoreSimulator.SimDeviceType.Resizable-iPhone)
Resizable iPad (com.apple.CoreSimulator.SimDeviceType.Resizable-iPad)
== Runtimes ==
iOS 8.1 (8.1 - 12B411) (com.apple.CoreSimulator.SimRuntime.iOS-8-1)
iOS 8.2 (8.2 - 12D508) (com.apple.CoreSimulator.SimRuntime.iOS-8-2)
== Devices ==
-- iOS 8.1 --
-- iOS 8.2 --
Run Code Online (Sandbox Code Playgroud)

你们中的任何人都知道为什么我没有选择在模拟器中运行我的项目?

Jer*_*oia 5

你很可能遇到中提到的问题的发行说明:

在运行该捆绑包中的任何Xcode工具后重命名Xcode.app可能导致iOS模拟器不再可用.将Xcode.app重命名为首次启动或重启Mac时的状态.(16646772)

此外,您可能确实没有配置任何设备(是否删除了它们?).查看输出xcrun simctl list并尝试使用创建设备xcrun simctl create.另请参阅〜/ Library/Developer/CoreSimulator/Devices.那里有什么吗?