今天在使用 CocoaPods 安装 一个三方报错内容如下:
[!] Error installing FLAnimatedImage
[!] /usr/bin/git clone https://github.com/FLAnimatedImage/FLAnimatedImage.git /var/folders/bz/29qvklsn77x9_706n9wq8j5m0000gn/T/d20180314-1931-1qoi06x --template= --single-branch --depth 1 --branch 3.1.0
Cloning into '/var/folders/bz/29qvklsn77x9_706n9wq8j5m0000gn/T/d20180314-1931-1qoi06x'...
fatal: unable to access 'https://github.com/ReactiveCocoa/ReactiveObjC.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
网上一通找,原来是 git 的代理配置问题导致,因为某些原因(🤡你懂的)导致梯子经常换。
打开vpn,重新 pod install,结束
网友评论