我可以通过以下代码使用GIDSignIn对单个帐户进行身份验证。GIDSignIn*googleSignIn=[GIDSignInsharedInstance];googleSignIn.delegate=self;googleSignIn.uiDelegate=self;googleSignIn.clientID=(NSString*)cGmailAppClientId;googleSignIn.scopes=[selfgetGmailAuthenticationScopes];;[googleSignInsignIn];但是GIDSignIn是共享实例。这是一个唯一的帐户。如何添加
Google登录在Xcode7上运行良好。更新到Xcode8后,我开始收到错误:Terminatingappduetouncaughtexception'NSInvalidArgumentException',reason:'Youmustspecify|clientID|对于|GIDSignIn|'。我有一个包含我的CLIENT_ID的GoogleService-Info.plist文件。我能够通过添加以下行来修复它:GIDSignIn.sharedInstance().clientID=""CLIENT_ID似乎不是从GoogleService-Info.plist中获取的。我已确
我已经在sdk中手动集成了google登录(不使用cocoapods)并且构建正常,但是当我运行该项目时,我总是在登录后遇到此错误:2015-09-0715:44:14.071Contacts++[82438:4826277]LaunchServices:ERROR:ThereisnoregisteredhandlerforURLschemecom-google-gidconsent-google2015-09-0715:44:14.071Contacts++[82438:4826277]LaunchServices:ERROR:Thereisnoregisteredhandlerfo