LoginSignup
10
4

More than 3 years have passed since last update.

Flutterでfirebase使えなかったのでメモ

Last updated at Posted at 2019-11-17
Xcode build done.                                           15.4s
4.13.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
*** First throw call stack:
(
    0   CoreFoundation                      0x0000000106a3c1e6 __exceptionPreprocess + 294
    1   libobjc.A.dylib                     0x00000001060d1031 objc_exception_throw + 48
    2   CoreFoundation                      0x0000000106ab1975 +[NSException raise:format:] + 197
    3   Runner                              0x0000000101e3336a +[FIRApp configure] + 352
    4   Runner                              0x0000000101eeef49 -[FLTFirebaseAnalyticsPlugin init] + 185
    5   Runner                              0x0000000101eeee28 +[FLTFirebaseAnalyticsPlugin registerWithRegistrar:] + 168
    6   Runner                              0x0000000101d9723c +[GeneratedPluginRegistrant registerWithRegistry:] + 124
    7   Runner                  <…>

以下を参考

やったこと

  • GoogleService-Info.plist を削除
  • ios/Runner.xcodeproj をxcodeで開く
  • 展開後 Runner/Runner 配下に GoogleService-Info.plist を置く

image.png

いけた!!!!!🚀

Xcode build done.                                           30.8s
    path: satisfied (Path is satisfied), interface: en0
    path: satisfied (Path is satisfied), interface: en0
    path: satisfied (Path is satisfied), interface: en0
[VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: DatabaseError(1, com.firebase, Permission Denied)

公式ドキュメントがわかりにくいな〜〜〜😂

10
4
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
10
4