我在Doc上做过任何事情,但当我调用GIDSignIn.sharedInstance().signIn()时,它崩溃了。
代码:
在AppDelegate:
func configGoogleServer() {
var configureError: NSError?
GGLContext.sharedInstance().configureWithError(&configureError)
assert(configureError == nil, "Error configuring Google services: \(configureError as Optional)")
GIDSignIn.sharedInstance().delegate = self
}在某些viewController中:
GIDSignIn.sharedInstance().signIn()我已经配置了像com.googleusercontent.apps.598xxx...xxx这样的网址方案。
崩溃截图:

并且调试区没有显示任何内容...:(
https://stackoverflow.com/questions/44652429
复制相似问题