解决方法:
1.从新的镜像下载(这里是清华大学的源,速度飞快)
cd ~/.cocoapods/repos
pod repo remove master
git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git master
2.修改 master下的.git/config git地址为 https://github.com/CocoaPods/Specs
3.执行安装
pod setup
解决方法:
1.从新的镜像下载(这里是清华大学的源,速度飞快)
cd ~/.cocoapods/repos
pod repo remove master
git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git master
2.修改 master下的.git/config git地址为 https://github.com/CocoaPods/Specs
3.执行安装
pod setup
本文标题:安装CocoaPods报"RPC failed; curl 18
本文链接:https://www.haomeiwen.com/subject/eejzfctx.html
网友评论