小编Leo*_*Leo的帖子

Pod设置失败

当我跑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)

也许,因为我糟糕的网络?

cocoapods

6
推荐指数
1
解决办法
2420
查看次数

iOS 谷歌登录失败

我在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.

崩溃截图:

在此处输入图片说明

调试区上没有任何显示...... :(

ios swift google-signin

3
推荐指数
1
解决办法
1476
查看次数

标签 统计

cocoapods ×1

google-signin ×1

ios ×1

swift ×1