1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

FIRESTORE INTERNAL ASSERTION FAILED: Failed to open DB: Internal: Failed to open LevelDB database atのエラー

Posted at

なぜこのエラーが出たのか

自分の場合はiOSバージョンのサポート切りを行う際に、なぜかFireStoreにアクセス出来なくなりました。
色々調べても解決方法出てこなかったので、記録として残します。

問題の切り分け

色々試行錯誤しましたが、
一度も使ったことのないシミュレータでビルドしてみると、問題なく起動できました。

解決策

シミュレータのキャッシュが悪さしてそうなので、キャッシュを消してみました。
一応自分がやったコマンド載せますが、キャッシュの消し方は調べてみてください。
削除処理は一歩間違えるとやばいので。。。

rm -rf ~/Library/Developer/Xcode/iOS\ DeviceSupport/*

キャッシュを消すと、問題なくビルドできるようになりました!
よかった!

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?