pod 'libwebp'失败的解决办法

操作步骤:

1、在终端执行 pod repo 获取到 cocoapods 本地库地址。


localhost:Nasdaq guxiaojie$ pod repo

master

- Type: git (master)

- URL:  https://github.com/CocoaPods/Specs.git

- Path: /Users/guxiaojie/.cocoapods/repos/master


2. open /Users/guxiaojie/.cocoapods/repos/master

3. Finder里面直接search libwebp

4.  根据pod install的失败记录Installing libwebp (1.0.2)

打开版本号(1.0.2)对应的 podspec 文件 -》〉》〉 libwebp.podspec.json

5.

把"source": {

    "git": "https://chromium.googlesource.com/webm/libwebp",

    "tag": "v1.0.2"

  },

改成

"source": {

    "git": "https://github.com/webmproject/libwebp.git",

    "tag": "v1.0.2"

  },



6 pod install

开心吧少年

你可能感兴趣的:(pod 'libwebp'失败的解决办法)