libwebp 本地替换源
2018-05-30 本文已影响88人
海森V
1 打开命令行 cd 到mac的/Users/用户名/.cocoapods/repos/master/Specs 下
2 输入 find /Users/bjhl/.cocoapods/repos/master/Specs -name libwebp
得到 libwebp的地址
/Users/xxx/.cocoapods/repos/master/Specs/1/9/2/libwebp
3 cd /Users/xxx/.cocoapods/repos/master/Specs/1/9/2/libwebp
4 cd 相应的版本, open .
原本是
"source": {
"git": "https://chromium.googlesource.com/webm/libwebp",
"tag": "v0.6.0"
}
替换为
"source": {
"git": "https://github.com/webmproject/libwebp.git",
"tag": "v0.6.0"
}