Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS使用cocoapods 安装libwebp 遇到Error installing libwebp解决方法 #4

Open
yyppaag opened this issue Apr 18, 2019 · 0 comments
Labels
iOS question Further information is requested

Comments

@yyppaag
Copy link
Owner

yyppaag commented Apr 18, 2019

1.查看mac中cocoapods 本地库路径:
pod repo
2.在本地库中, 并找到对应的libwebp版本的文件
find ~/.cocoapods/repos/master -iname libwebp
3.进入libwebp目录,可以看到你的仓库中有哪些对应的版本
~/.cocoapods/repos/master/Specs/1/9/2/libwebp
4.根据要安装的版本进入对应的目录
cd ~/.cocoapods/repos/master/Specs/1/9/2/libwebp/1.0.2
5. 修改libwebp.podspec.json
将其中的git 对应的url替换为https://github.com/webmproject/libwebp.git,并保存
最后再执行pod install

@yyppaag yyppaag added iOS question Further information is requested labels Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iOS question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant