0
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 1 year has passed since last update.

「/flutter/bin/cache/artifacts/engine/darwin-x64/const_finder.dart.snapshot': No such file or directory」対処

Posted at

iOS17の更新により、MacOS・XCodeをアップデートしたことがきっかけと思われるが、FlutterアプリをXCodeで Archiveしようとしたら下記のエラーとなった

Error (Xcode): Target release_ios_bundle_flutter_assets failed: IconTreeShakerException: ConstFinder failure: 
../../flutter/bin/cache/artifacts/engine/darwin-x64/const_finder.dart.snapshot: Error: Error when reading
'../../flutter/bin/cache/artifacts/engine/darwin-x64/const_finder.dart.snapshot': No such file or directory

対処

結論としては、参考元の通り、下記で解決した

  • 「flutter/bin/cache/」を削除する

試したこと

こちらは試したが改善しなかった

  • 「flutter/bin/cache/artifacts」を削除する

参考元

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