LoginSignup
33
12

iOSシュミレーターがUnable to boot the Simulator. で起動しない時の、もう一つの解決法

Last updated at Posted at 2023-10-03

はじめに

Screenshot 2023-10-03 at 10.16.41.png
Flutter開発をしていてある日突然、「Unable to boot the Simulator.」というエラーが表示され、iOSシュミレーターが起動しなくなった!!!
VSCodeでもAndroid Studioでも起動しない!!:scream_cat:

これは由々しき事態である。

よくみる解決法では無理だった

検索してよく見かけるのは👆のSimulatorのキャッシュを削除する方法です。
が、なぜか私の場合About this Mac > Storage > Manage > DevelopperManage > Developperを選択する項目が存在しない。。。
一瞬だけDevelopperは見えるがすぐに消え去ってしまうのです。OSの不具合か?
もう泣きます:disappointed_relieved:
Screenshot 2023-10-03 at 10.20.12.png

以前も同じ問題に遭遇した際は上記の方法で解決できていたのですが、今回はお手上げです。。。

👆記事を参考にあらゆるキャッシュ削除を試しましたが、一向に解決しなかったです:upside_down:

まさかのCoreSimulatorにあるキャッシュの削除で解決

この記事に救われました。

Screenshot 2023-10-03 at 10.24.56.png
ユーザ>(自身のディレクトリ名)>ライブラリ>Developer>CoreSimulator>Cashes>dyld>22C65(人によって違うかも)配下のファイルを全て削除しました。

するとび無事シュミレーターが起動しました!

ライブラリは隠しフォルダなので「command」+「shift」+「.」 で表示させましょう

33
12
1

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
33
12