pod setup报错RPC failed; curl 56 L

2019-04-12  本文已影响0人  独家记忆3997

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

上一篇 下一篇

猜你喜欢

热点阅读