Installing libwebp (1.1.0)
[!] Error installing libwebp
[!] /usr/bin/git clone https://chromium.googlesource.com/webm/libwebp/var/folders/y5/1jbgfpg956jf5x7b9f8v9kzw0000gp/T/d20180930-67622-1ye8vu2 –template= –single-branch –depth 1 –branch v1.1.0
Cloning into ‘/var/folders/y5/1jbgfpg956jf5x7b9f8v9kzw0000gp/T/d20180930-67622-1ye8vu2’…
fatal: unable to access ‘https://chromium.googlesource.com/webm/libwebp/’: Failed to connect to chromium.googlesource.com port 443: Operation timed out
解决办法:
1、pod repo 查看 cocoapods 在本机的PATH path/.cocoapods/repos/master path/.cocoapods/repos/trunk
2、拼接地址:由1所得出path拼接为,path/Specs/1/9/2/libwebp
3、右键finder前往文件夹,将2所得地址输入,前往
4、打开你要加载的版本相应的文件夹,如我的错误信息为Installing libwebp (1.1.0),则用文本编辑打开1.1.0文件夹的json文件。
5、将json中source下git地址更改为https://github.com/webmproject/libwebp.git