LoginSignup
3
3

More than 3 years have passed since last update.

XcodeのComponentsのSimulatorがdownload済みなのに使えない時の対処法

Posted at

Xcodeをuninstallしてinstallしなおした時に、前のXcodeの情報が残っていたのでその対処法を備忘録として残しておきます。

現象

  • Add additional Simulators または Window -> Devices and Simulators -> Simulators -> + でsimulatorを追加しようとしたところ、 OS Versionの選択にiOS 10.3が表示されない

スクリーンショット 2021-01-22 13.48.37.png

  • Download Simulators または Xcode -> Preference -> Components で確認するとiOS 10.3 Simulatorはダウンロード済みになっている

スクリーンショット 2021-01-22 13.48.37のコピー.png

つまり
ComponentsのSimulatorのOSがDL済みになっているのに、Simulator作成画面で選択できない

解決策

  • ~/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 10.3.simruntime を削除
  • /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 10.3.simruntime を削除

"~/Library" と "/Library" があるので注意

無事ComponentsのSimulatorのチェックマークが外れたのでDLしなおすことができた
(未検証だが、 /Library のsimruntimeを ~/Library の方に移動させれば再ダウンロードしなくても大丈夫だったかもしれない)

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3