Error installing WechatOpenSDK c

2021-02-24  本文已影响0人  路漫漫其修远兮Wzt

参考:GIT推送错误error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)

公司项目,执行安装pod install的时候,报错:

[!] Error installing WechatOpenSDK
[!] /usr/bin/curl -f -L -o /var/folders/dq/0lf6cwpj06z10kcm0s1k1px40000gn/T/d20210224-57747-bqecon/file.zip https://res.wx.qq.com/op_res/DHI055JVxYur-5c7ss5McQZj2Y9KZQlp24xwD7FYnF88x8LA8rWCzSfdStN5tiCD --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.10.1 cocoapods-downloader/1.4.0'

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 47 4346k   47 2048k    0     0  2373k      0  0:00:01 --:--:--  0:00:01 2370k
curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)

解决方法:
增加git缓冲区大小

git config --global http.postBuffer 524288000
上一篇下一篇

猜你喜欢

热点阅读