pod install 失败的一种解决方案

2025-04-24  本文已影响0人  LV大树

报错:
[!] Error installing Zendesk
[!] /usr/bin/git clone https://github.com/zendesk/sdk_zendesk_ios.git /var/folders/wx/qj4vvbn14914qvhty9ygrblm0000gn/T/d20250425-78650-1w4bvp --template= --single-branch --depth 1 --branch 2.0.0

Cloning into '/var/folders/wx/qj4vvbn14914qvhty9ygrblm0000gn/T/d20250425-78650-1w4bvp'...
fatal: unable to access 'https://github.com/zendesk/sdk_zendesk_ios.git/': Error in the HTTP2 framing layer

按照豆包给的方案:


禁用 HTTP2
git config --global http.version HTTP/1.1
success
上一篇 下一篇

猜你喜欢

热点阅读