I am using google sign in iOS app but its showing me error .
i used Cocoapods to add sdk . when i have make all setting in project and launching app getting this
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.
and every thing i have added properly don't know why its not working .before that its was working i have updated my pod file to get latest google sign sdk .
my pod file have pod 'Google/SignIn' when i am installing pod (pod have ) its added
Installing FirebaseAnalytics (3.2.0)
Installing FirebaseInstanceID (1.0.6)
i don't know why this came even i have not added any thing related to Firebase.
this is my Analyzing dependencies Downloading dependencies
Installing FirebaseAnalytics (3.2.0)
Installing FirebaseInstanceID (1.0.6)
Installing Google (3.0.3)
Installing GoogleAppUtilities (1.1.1)
Installing GoogleAuthUtilities (2.0.1)
Installing GoogleInterchangeUtilities (1.2.1)
Installing GoogleNetworkingUtilities (1.2.1)
Installing GoogleSignIn (4.0.0)
Installing GoogleSymbolUtilities (1.1.1)
Installing GoogleUtilities (1.3.1)
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use `googletest.xcworkspace` for this project from now on.
Sending stats
Why its installing Firebase dependencies and google sign
how to solve this issue.
I have been able to fix this issue by:
The downloaded plist has the exact same values as my previous ones for CLIENT_ID
, REVERSED_CLIENT_ID
, and BUNDLE_ID
, but it adds a few keys including GOOGLE_APP_ID
.
I replaced the plist file I had in my Xcode project with this new one and everything is back to normal.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With