efortuna / memechat

a meme-based chat application
542 stars 150 forks source link

iOS Build fails with Firebase error #25

Closed viju85 closed 6 years ago

viju85 commented 6 years ago

I get an error when building iOS even after I have the GoogleService-Info.plist under memechat/ios/Runner/

[Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add [FIRApp configure] to your application initialization. Read more: https://goo.gl/ctyzm8. [Firebase/Core][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'.

Note: I had to add the below into my Info.plist: `CFBundleURLTypes

CFBundleTypeRole Editor CFBundleURLSchemes com.blahblah.memechat [REAL REVERSED_CLIENT_ID] `
hnvn commented 6 years ago

Open Xcode project (Runner), then add GoogleService-Info.plist file to your project

efortuna commented 6 years ago

Hi @viju85, as @hnvn mentioned, if you open Runner in Xcode and add it that way, it will automatically make that change to your Info.plist. I'm glad you figured it out!

(and @viju85, nice meeting you at I/O!)