Open2

flutter × firebase エラー対処

yuriyuri

こんなエラーが出て、ビルドができない!!

Xcode's output:Writing result bundle at path:
    	/var/folders/3c/kg6964h170x1k08r51zh8l7c0000gn/T/flutter_tools.rpp02m/flutter_ios_build_temp_dirq2rVF2/temporary_xcresult_bundle

    error: Unable to read file at path /Users/○○/○○○/○○/○○/○○/ios/firebase_app_id_file.json
    Command PhaseScriptExecution failed with a nonzero exit code
    note: Using new build system
    note: Planning
    note: Build preparation complete
    note: Building targets in dependency order

    Result bundle written to path:
    	/var/folders/3c/kg6964h170x1k08r51zh8l7c0000gn/T/flutter_tools.rpp02m/flutter_ios_build_temp_dirq2rVF2/temporary_xcresult_bundle


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

※○○はパスです

解決法

$ flutterfire configure

このコマンドを打てばいけた🎉

yuriyuri

$ flutterfire configure このコマンドが通らない!

解決法

こちらをしておりませんでした。。