【发布时间】:2015-07-27 15:00:22
【问题描述】:
OSX 10.10.1 Xcode 6.3 或 6.3.1 xcodebuild 版本“Xcode 6.3.1”
这发生在一台机器上,我认为这是侥幸。现在已经发生在两台机器上。我遵循了中的建议 Why aren't simulators showing in the Xcode 6.3.1 scheme selector?
无济于事。这是我在命令行上看到的:
xcodebuild -showsdks
iOS Simulator SDKs:
Simulator - iOS 8.3 -sdk iphonesimulator8.3
在“xcode GUI -> 首选项 -> 下载”中
iOS 8.2 Sim (checkmark)
iOS 8.1 Sim (checkmark)
iOS 7.1 Sim (checkmark)
在 ios sim 应用程序中(从 Xcode 打开 -> 打开开发工具 -> ios sim)
在我看到的“硬件 -> 设备”下拉菜单中
iOS 7.1 > (lots of choices)
iOS 8.1 > (lots of choices)
iOS 8.2 > (lots of choices)
iOS 8.3 > (lots of choices)
所以 Xcode GUI 通常与自己一致,但我需要从命令行以编程方式构建并启动所有这些 iOS 模拟程序,但 xcodebuild 并没有看到所有可用的模拟器。
【问题讨论】:
-
其实知道你真正拥有什么模拟器的方法是
xcrun simctl。
标签: xcode ios-simulator xcodebuild