
原因是libwebp的原地址是google的,
Github找到其镜像库,替换libwebp原有的source地址
详见:
https://www.jianshu.com/p/eacd3cee51ac
步骤:
1,pod repo 获取到cocoapods本地库地址

2,打开文件夹,前往本地pod地址


3,在文件夹specs搜索libwebp

4,打开libwebp文件夹,找到终端报错的版本号v1.1.0文件夹

5,打开文件夹里的podspec文件

找到source-git对应的地址https://chromium.googlesource.com/webm/libwebp

修改为https://github.com/webmproject/libwebp.git

保存
重新pod install
成功
网友评论