I use the Google Identity Toolkit for federated login in my iOS 9 compatible application. I recently updated all frameworks and libraries and started using Cocoapod for dependency management. Now that the Facebook login is working fine, when the user enters the "log in using Google" button, the following error is issued:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'You must specify |clientID| for |GIDSignIn|'
The configuration code in my AppDelegate, where I set the client ID, is as follows:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { GITClient *gitkitClient = [GITClient sharedInstance]; gitkitClient.apiKey = GITKIT_API_KEY; gitkitClient.widgetURL = GITKIT_WIDGET_URL; gitkitClient.providers = GITKIT_PROVIDERS; [GPPSignIn sharedInstance].clientID = GOOGLE_CLIENT_ID; ...various unrelated code... }
Any guidance would be truly appreciated.
ios ios9 google-signin google-identity-toolkit
Hersh bhargava
source share