pod install 遇到的问题

2018-07-26  本文已影响53人  _冇毒

如果你也遇到以下跟我一样的问题那请试试这个解决方案

报错信息是这样的.


终端截图.jpg
[!] Error installing DZNEmptyDataSet
[!] /usr/bin/git clone https://github.com/dzenbot/DZNEmptyDataSet.git /var/folders/wh/b2x8d6mn1rn76pky420t7r9m0000gn/T/d20180726-31038-1dbdimr --template= --single-branch --depth 1 --branch v1.8.1

Cloning into '/var/folders/wh/b2x8d6mn1rn76pky420t7r9m0000gn/T/d20180726-31038-1dbdimr'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

解决方案

先输入这句命令

sudo gem install cocoapods

然后

pod install

即可

上一篇 下一篇

猜你喜欢

热点阅读