美文网首页iOS集合
The unauthenticated git protocol

The unauthenticated git protocol

作者: VervertomJC | 来源:发表于2022-05-11 10:43 被阅读0次

[!] Error installing HMSegmentedControl
[!] /usr/bin/git clone https://github.com/HeshamMegid/HMSegmentedControl.git /var/folders/nc/xbtc3mq57lq3l5hm4wp7s0p80000gp/T/d20220511-21050-4cr0qc --template= --single-branch --depth 1 --branch v1.5.6
Cloning into '/var/folders/nc/xbtc3mq57lq3l5hm4wp7s0p80000gp/T/d20220511-21050-4cr0qc'...
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

pod install 安装依赖库碰到上述问题

解决方案:
git config --global url."https://github.com/".insteadOf git://github.com/

参考链接:https://stackoverflow.com/questions/70663523/the-unauthenticated-git-protocol-on-port-9418-is-no-longer-supported

相关文章

网友评论

    本文标题:The unauthenticated git protocol

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