美文网首页
pod install 失败的一种解决方案

pod install 失败的一种解决方案

作者: LV大树 | 来源:发表于2025-04-24 09:51 被阅读0次

报错:
[!] 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

相关文章

网友评论

      本文标题:pod install 失败的一种解决方案

      本文链接:https://www.haomeiwen.com/subject/vlogbjtx.html