pod setup 提示错误解决方法

来源:互联网 发布:sp最短路径优先算法 编辑:程序博客网 时间:2024/05/22 14:22

输入pod setup命令后,等了很久,出现以下错误:

Cloning into 'master'...

remote: Counting objects: 1334972, done.        

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

error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed


在网上找了好久,尝试了好多次失败后,尝试了输入以下命令,第二次终于setup成功了。

$ brew remove git$ brew remove curl$ brew install openssl$ brew install --with-openssl curl$ brew install --with-curl --with-openssl git

(brew命令需要安装后才能使用(转自http://blog.csdn.net/azhou_hui/article/details/49718511)