[[FirebaseCore]] 11.6.0 - [FirebaseCore][I-COR000005] No app has been configured yet.

euni·2025년 4월 4일

debug_error

목록 보기
1/3

문제 상황

  • [firebase Core] 아직 앱이 구성되지 않았다는 디버그 코드가 출력됨

    [[FirebaseCore]] 11.6.0 - [FirebaseCore][I-COR000005] No app has been configured yet.

해결 방법

  • ios > AppDelegate.swift 코드 추가
  import Firebase

  
   class AppDelegate: FlutterAppDelegate {
    override func application(
      _ application: UIApplication,
      didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
    ) -> Bool {
      **FirebaseApp.configure()**
      GeneratedPluginRegistrant.register(with: self)
      return super.application(application, didFinishLaunchingWithOptions: launchOptions)
    }
    ...
profile
플러터 개발자 👩🏻‍💻

0개의 댓글