pod install 报错(Installing libwebp 1.2.0 (was 1.2.1))

 [!] Error installing libwebp
[!] /usr/bin/git clone https://chromium.googlesource.com/webm/libwebp /var/folders/w8/v3tqzl2d3_56p16bx5wc9z0c0000gn/T/d20221011-3346-20zqgi --template= --single-branch --depth 1 --branch v1.2.0

Cloning into '/var/folders/w8/v3tqzl2d3_56p16bx5wc9z0c0000gn/T/d20221011-3346-20zqgi'...
fatal: unable to access 'https://chromium.googlesource.com/webm/libwebp/': Failed to connect to chromium.googlesource.com port 443: Operation timed out

解决方法:
1、看下图找到1.2.0所在json文件位置;
2、位置:/Users/xl/.cocoapods/repos/master/Specs/1/9/2
3、修改如下:

"source": {  
    "git": "https://github.com/webmproject/libwebp.git",
    "tag": "v1.2.0"
  },
截屏2022-10-11 下午3.03.31.png
截屏2022-10-11 下午3.07.33.png

截屏2022-10-11 下午3.10.42.png

你可能感兴趣的:(pod install 报错(Installing libwebp 1.2.0 (was 1.2.1)))