Reputation: 285
I have downloaded it already and added it to my Xcode Project I did copy items if needed as well .. I do not understand why I am still getting this error. I have FIRApp.configure() in my app delegate... Any tips? Thank you in advance.
func application(application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?)
-> Bool {
UINavigationBar.appearance().tintColor = UIColor.greenColor()
UIApplication.sharedApplication().statusBarStyle = .LightContent
FIRApp.configure()
return true
}
Upvotes: 6
Views: 12178
Reputation: 1727
I was making FIRApp.configure()
from two different file/places, due to which app was crashing.
You need to call only one time.
Upvotes: 0
Reputation: 209
I tried so many copy paste methods even creating/placing plist file in the Resource folder and nothing worked :(
sometimes, only using original plist file was best indicator of working but this is the best solution that worked 100% every time I use Xcode (8 - 9)/swift and Firebase together:
Upvotes: 3
Reputation: 9253
Target Membership
option:Upvotes: 13
Reputation: 9734
Solution 1
Make sure your google service plist called GoogleServices-Info.plist
. If it's not then it won't work.
Solution 2
If it is still not working then just create Resource Folder
in Xcode and then copy the GoogleServices-Info.plist
inside the Resource folder
. Now Run
your project. I hope this helps you.
Upvotes: 5