-
Notifications
You must be signed in to change notification settings - Fork 998
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS : invalid GOOGLE_APP_ID in GoogleService-Info.plist or set in the customized options #308
Comments
Check There should be a Replace that one, and it should work. |
I have replaced the file in both folders and it works, thank you ! |
Wow this is obscure and even more amazing that someone knew the solution. You just saved me... countless hours, @larssn . |
@larssn super thanks ! |
holy sweet jesus batman!!!!!!!!! Like @codinronan said, this completely obscure solution fixed my issue. and I am not even using the FCM plugin, I am using the Firebase plugin. Rebuilt my app project from scratch and the problem still persisted...until I found this solution!!!! thank you....Thank You....THANK YOU!!!! |
Terminating app due to uncaught exception 'com.firebase.core', reason: 'Configuration fails. It may be caused by an invalid GOOGLE_APP_ID in GoogleService-Info.plist or set in the customized options.' I tried the solution, I copied GoogleService-Info.plist file into project resources folder, but still i'm facing same problem. Any one have solution |
@shanmicheal25 be sure to overwrite the .plist file under platforms/ios/< Your Project >/Resources/Resources with the .plist file from your root At least that made all the difference to me |
Sorry, guys. |
@Junior-iOS it's in Cordova Project root folder |
@for Xcode 9, solution is to check box at Target Membership Tab on GoogleService-Infp.plist |
where do you find the platforms folder? |
Same problem, I dont know why, but I replace my olds GoogleService-Info.plist in :
It works fine. |
Same problem here. I replaced the files and it is working fine. Thank you! |
In this File was no Informations: So i copyed |
Thanks !!!!!!!!! Re-Downloaded -> Build and that's all it worked ... :) |
hello @larssn , but I don't have resources folder inside resources, Thanks! |
@roshandhabekar per the other comments above, just create the missing Resources folder and copy the GoogleService-info.plist file into place. If that doesn't work I would suggest |
Thanks @larssn ! indeed, the deeper plist file was empty. Any idea why this happens? |
@jonathan-chin I haven't digged into the code; I assume there's a bug in there somewhere. |
I found the problem. Then leave the tag of config.xml in this way MyAppName and it will work. |
I just removed the GoogleService-info.plist file from my project root folder and re added it, everything works fine now. |
Why is this thread closed? It seems that the issue is still going on... |
@larssn thanks, It worked for me :) |
I am having same problem. adding Resource with GoogleService-info.plist does not solve the problem. I am using XCode 10.1 |
@madhurakhal did you find any solution ? |
My tip is you start from scratch. |
how can i add this solution to the config.xml? |
Replacing the .plist from |
Change the file permissions of the entire project, some files were read only. |
Is anyone getting this issue while using react-native? |
you saved my day |
Yes. This is not solved yet. |
This still works as of 19/12/2019 you just made my Christmas ❤️ |
2020 and works yet !! @larssn |
2020 in quarantine and the issue still exists and the workaround still works. |
@larssn :i tried but its not working for me |
Dwonload from firebase console and place in. platforms/ios//Resources/ its resolved. |
I am using capacitor so there is no folder called "Resources" I have tried every solution which is mentioned here still having same issue. i am using lastest xcode version. |
same here still waiting for someone to solve this |
i'm getting the same error using capacitor. [Firebase/Core][I-COR000009] The GOOGLE_APP_ID either in the plist file 'GoogleService-Info.plist' or the one set in the customized options is invalid. If you are using the plist file, use the iOS version of bundle identifier to download the file, and do not manually edit the GOOGLE_APP_ID. You may change your app's bundle identifier to '(null)'. Or you can download a new configuration file that matches your bundle identifier from https://console.firebase.google.com/ and replace the current one. *** Terminating app due to uncaught exception 'com.firebase.core', reason: 'Configuration fails. It may be caused by an invalid GOOGLE_APP_ID in GoogleService-Info.plist or set in the customized options.' |
for Capacitor replace |
This doesn't work. I am using capacitor and the latest code. |
If you still have this issue and replacing the files did not work make sure that your appID set in your custom options at Firebase.init really do match their specific platform. |
If you develop the app on Flutter inside FirebaseOptions object you should differentiate this parameter:
|
This did the trick for me. The file was there, but didn't have any property. |
Hello,
I have a Firebase project where I have downloaded the iOS and Android configuration files.
It works on Android, but on iOS launch, the app just crashes and here is the log.
I have checked the GoogleService-Info.plist, re-downloaded, but everytime, I got this error.
Can you help me understand why Firebase crashes on iOS ?
Thank you !
The text was updated successfully, but these errors were encountered: