💨

Error (Xcode): Framework 'Flutter' not found

2025/02/04に公開

解決方法

Flutter再インストール

podファイル周りやFlutterのバージョン変更等をやってみましたが、僕の場合はどれも効果がありませんでした。xcodeでflutter.flameworkを追加すればいけるというのを見ましたが、Flutterの再インストールをした方が手っ取り早そうだったのでそうしました。

原因

cleanmymacでflutter周りのファイルを消してしまった。

エラー

Error (Xcode): Framework 'Flutter' not found

Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)


Could not build the application for the simulator.
Error launching application on iPhone 16 Pro.

新規プロジェクトでビルド

Error (Xcode): Target debug_unpack_ios failed: Exception: Binary
/Users/t/Desktop/flutter_application_1/build/ios/Debug-iphonesimulator/Flutter.framework/Flu
tter does not exist, cannot thin

Discussion