当我跑pod setup
,我得到这个错误:
LeodeMacBook-Pro:repos Leo$ pod setup
Setting up CocoaPods master repo
[!] /usr/local/bin/git clone https://github.com/CocoaPods/Specs.git master
Cloning into 'master'...
error: RPC failed; curl 56 SSLRead() return error -36
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Run Code Online (Sandbox Code Playgroud)
也许,因为我糟糕的网络?
我在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
}
Run Code Online (Sandbox Code Playgroud)
在一些视图控制器:
GIDSignIn.sharedInstance().signIn()
Run Code Online (Sandbox Code Playgroud)
我已经配置了像com.googleusercontent.apps.598xxx...xxx
.
调试区上没有任何显示...... :(