美文网首页
pod install 报错 Error installing

pod install 报错 Error installing

作者: Linda_smile | 来源:发表于2021-09-09 10:52 被阅读0次

报错原文:
[!] Error installing libwebp
[!] /usr/bin/git clone https://chromium.googlesource.com/webm/libwebp /var/folders/tm/401gns593114zycgylft1xv00000gn/T/d20210909-704-1e33fvs --template= --single-branch --depth 1 --branch v1.2.0

Cloning into '/var/folders/tm/401gns593114zycgylft1xv00000gn/T/d20210909-704-1e33fvs'...
fatal: unable to access 'https://chromium.googlesource.com/webm/libwebp/': Failed to connect to chromium.googlesource.com port 443: Operation timed out
报错截图:

报错截图

解决办法:
直接进入到/Users/(你本地的名字)/.cocoapods/repos/master/Specs/1/9/2/libwebp ,选择1.2.0文件夹把里面的libwebp.podspec.json打开,将里面的git: https://chromium.googlesource.com/webm/libwebp/ 地址修改为 https://github.com/webmproject/libwebp.git 就可以了

相关文章

网友评论

      本文标题:pod install 报错 Error installing

      本文链接:https://www.haomeiwen.com/subject/xesiwltx.html