错误一
Unable to add a source with url `https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git ` named `edu-git-cocoapods-specs`.
解决方法:
rm -rf ~/.cocoapods
mkdir -p ~/.cocoapods/repos
cd ~/.cocoapods/repos
git clone git://cocoapodscn.com/Specs.git master
Cloning into 'master'...
错误二
error: RPC failed; curl 7 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60
fatal: expected flush after ref listing
解决方法:配置关闭ssl验证
git config --global http.sslVerify false
错误三
fatal: unable to access 'https://github.com/rs/SDWebImage.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
解决方法:
git config --global --unset http.https://github.com.proxy
git config --global --unset https.https://github.com.proxy