美文网首页
pod setup报错RPC failed; curl 56 L

pod setup报错RPC failed; curl 56 L

作者: 独家记忆3997 | 来源:发表于2019-04-12 16:20 被阅读0次

localhost:PopNews dmy$ pod setup

Setting up CocoaPods master repo

  $ /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --progress

  Cloning into 'master'...

  remote: Enumerating objects: 197, done.       

  remote: Counting objects: 100% (197/197), done.       

  remote: Compressing objects: 100% (155/155), done.       

  error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 50

  fatal: the remote end hung up unexpectedly

  fatal: early EOF

  fatal: index-pack failed

[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --progress

Cloning into 'master'...

remote: Enumerating objects: 197, done.       

remote: Counting objects: 100% (197/197), done.       

remote: Compressing objects: 100% (155/155), done.       

error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 50

fatal: the remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

解决办法:

1. 先安装CocoaPods执行正常:sudo gem install -n /usr/local/bin cocoapods

2. 再调用:pod setup

相关文章

网友评论

      本文标题:pod setup报错RPC failed; curl 56 L

      本文链接:https://www.haomeiwen.com/subject/ifocwqtx.html