3
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 5 years have passed since last update.

[AndroidStudio][iOS] Flutterデバッグ中にHDの容量が食われてMacが落ちる問題について

Posted at

発生した問題

Android StudioでFlutterアプリを実装中、iOSを実機に繋いでデバッグしていたらなんかのタイミングでMacのHDをめちゃくちゃ食うようになってしまいにはMacが落ちるという問題が発生した。
Macを再起動後、ゴミ箱にRecoverd filesが作成され大量の(A Document Being Saved By xcdevice)が。。。

スクリーンショット 2020-05-18 15.12.43.png

発生したバージョン

  • Mac: macOS Catalina 10.15.4
  • XCode: 11.4(11E146)
  • AndroidStudio: 3.6.3
  • Flutter: 1.17.0
  • Dart: 2.8.1

解決策

以下のURLにたどり着いた。
https://apple.stackexchange.com/questions/387634/temporary-dyld-shared-cache-taking-a-lot-of-space

XCodeを起動し、メニューの「Window」→「Devices and Simulators」をクリック。
接続しているiPhoneを選択し「Copying cache files from device」が表示されてるのでそのプロセスが完了すれば発生しなくなる。

試してないが、XCodeをアップデートしたら治るのかも。。

3
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
3
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?