flutter ios 报错
[!] Error installing libwebp [!] /usr/bin/git clone https://chromium.googlesource.com/webm/libwebp /var/folders/87/73_f42316tj173wq0y6njkhc0000gn/T/d20201205-22146-13q952b --template= --single-branch --depth 1 --branch v1.1.0 Cloning into '/var/folders/87/73_f42316tj173wq0y6njkhc0000gn/T/d20201205-22146-13q952b'... fatal: unable to access 'https://chromium.googlesource.com/webm/libwebp/': Failed to connect to chromium.googlesource.com port 443: Operation timed out
解决方法:
1.Finder -> 前往文件夹 (⇧⌘G) -> ~/.cocoapods/repos/master/Specs/1/9/2/libwebp
2.修改2处地方
将source中的git 改为 https://github.com/webmproject/libwebp.git
将homepage改为https://github.com/webmproject/,source->git 改为https://github.com/webmproject/libwebp.git
最后再进入ios文件,pod install
参考:https://juejin.cn/post/6844904089189351438