重新安装xcode模拟器运行时

时间:2017-08-15 11:35:52

标签: ios xcode ios-simulator

r-7-99-25-172:Desktop a$ xcrun simctl list runtimes
== Runtimes ==
iOS 10.3 (10.3.1 - 14E8301) (com.apple.CoreSimulator.SimRuntime.iOS-10-3)
tvOS 10.2 (10.2 - 14W260) (com.apple.CoreSimulator.SimRuntime.tvOS-10-2)
watchOS 3.2 (3.2 - 14V243) (com.apple.CoreSimulator.SimRuntime.watchOS-3-2)
r-7-99-25-172:Desktop a$ ls /Library/Developer/CoreSimulator/Profiles/Runtimes
r-7-99-25-172:Desktop a$ 

我使用xcrun列出了iOS 10.3运行时,但它不在/ Profiles / Runtimes或XCode的组件下: enter image description here

如何重新安装iOS 10.3以便它正常显示?

1 个答案:

答案 0 :(得分:1)

“组件”窗格显示可用作可下载内容的内容。 Xcode与最新的iOS模拟器运行时(在您的情况下,iOS 10.3.1)捆绑在一起,因此它不在“组件”窗格中列出,因为它不需要安装。

仅根据您提供的数据,您的系统没有任何问题。