[!] Error installing libwebp [!] /usr/bin/git clone https://chromium.googlesource.com/webm/libweb...

[!] Error installing libwebp [!] /usr/bin/git clone https://chromium.googlesource.com/webm/libwebp /var/folders/y5/pck98q9n4x11s4r_52f6yn180000gn/T/d20210714-8818-k39ker --template= --single-branch --depth 1 --branch v1.2.0 Cloning into '/var/folders/y5/pck98q9n4x11s4r_52f6yn180000gn/T/d20210714-8818-k39ker'... fatal: unable to access 'https://chromium.googlesource.com/webm/libwebp/': Failed to connect to chromium.googlesource.com port 443: Operation timed out

pod repo 查看
find ~/.cocoapods/repos/trunk-iname libwebp 查找
前往 ~/.cocoapods/repos/trunk/Specs/1/9/2/libwebp/1.2.0
编辑 libwebp.podspec.json

将url 如图修改


图片.png

source git中的url更换成https://github.com/webmproject/libwebp.git

图片.png

你可能感兴趣的:([!] Error installing libwebp [!] /usr/bin/git clone https://chromium.googlesource.com/webm/libweb...)