[!] 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/
网友评论