エラー概要
iosシミュレーターでflutter run
する時だけ、以下のエラーが出る。
※Androidはエラーが出ない。
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: [core/not-initialized] Firebase has not been correctly initialized.
Usually this means you've attempted to use a Firebase service before calling `Firebase.initializeApp`.
View the documentation for more information: https://firebase.flutter.dev/docs/overview#initialization
解決策
GoogleService-Info.plist
の配置場所を間違えていました。
- 誤:プロジェクトディレクトリ/ios
- 正:プロジェクトディレクトリ/ios/Runner