I have followed : Integrating Google Sign-In into your iOS app
However when I execute the app, it halts in the app delegate itself - even before I can see my first
This happens to me when I updated the google pods. They changed the way they configure URL schemes. The best way is to just reconfigure the google signin.
If you wanna get only GCM_SENDER_ID, try this workaround:
NSError* configureError;
[[GGLContext sharedInstance] configureWithError:&configureError];
NSString * gcmSenderID = [GGLContext sharedInstance].gcmSenderID;
NSLog(@"%@", gcmSenderID);
I faced the same problem. And, actually, I solved it when in cocoapods file I placed "pod 'Google/SignIn'" instead of "pod Google". Hope it could help you too.
GoogleService-Info.plist
file into your project in a location such as Shared Resources
. When you have successfully added the file, you should also make sure to include it in the project build:Double-check that in the "Build Phases" section of your project that your project is including GoogleService-Info.plist
.
Double check the file name. The file name must be exactly GoogleService-Info.plist
common misspellings include GoogleServices-Info.plist and GoogleService-info.plist - case sensitive and exactly named only will work.