当前位置:网站首页>Pod libwebp error reporting solution

Pod libwebp error reporting solution

2022-06-13 06:01:00 Quiet electric rod

In the debug SDWebImage Or depending on libWebp Third party Library of ,pod install Will report a mistake .

[!] Error installing libwebp
[!] /usr/bin/git clone https://chromium.googlesource.com/webm/libwebp /var/folders/0g/c7jyp3mj74s0mlch3_hlj1c80000gn/T/d20210108-36534-m75dh9 --template= --single-branch --depth 1 --branch v1.1.0

Cloning into '/var/folders/0g/c7jyp3mj74s0mlch3_hlj1c80000gn/T/d20210108-36534-m75dh9'...
fatal: unable to access 'https://chromium.googlesource.com/webm/libwebp/': Failed to connect to chromium.googlesource.com port 443: Operation timed out

Solution

View local cocoapod Warehouse pod repo

[email protected] SDWebImage-master % pod repo

master
- Type: git (master)
- URL:  https://github.com/CocoaPods/Specs.git
- Path: /Users/jeversonjee/.cocoapods/repos/master

Specs
- Type: git (master)
- URL:  https://github.com/CocoaPods/Specs
- Path: /Users/jeversonjee/.cocoapods/repos/Specs

trunk
- Type: CDN
- URL:  https://cdn.cocoapods.org/
- Path: /Users/jeversonjee/.cocoapods/repos/trunk

Baidu :master path Next find /Users/jeversonjee/.cocoapods/repos/master -iname libwebp
output: /Users/jeversonjee/.cocoapods/repos/master/Specs/1/9/2/libwebp

Then go to the directory :( It can be seen that the error information is dependent v1.1.0)
master/webplib
The results from Baidu .
 However, there is no corresponding version under the directory

However , I don't have a corresponding directory .

Solution

trunk path Next find /Users/jeversonjee/.cocoapods/repos/trunk -iname libwebp
output: /Users/jeversonjee/.cocoapods/repos/trunk/Specs/1/9/2/libwebp

Then find the corresponding folder :
 Insert picture description here
 Insert picture description here

原网站

版权声明
本文为[Quiet electric rod]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202270558386201.html