cocopod出现LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

[!] Error installing AFNetworking
[!] /usr/bin/git clone https://github.com/AFNetworking/AFNetworking.git /var/folders/_f/hylhw8tx7kq_jjjht0jyr3x40000gp/T/d20210917-36765-18z0ogj --template= --single-branch --depth 1 --branch 4.0.1

Cloning into '/var/folders/_f/hylhw8tx7kq_jjjht0jyr3x40000gp/T/d20210917-36765-18z0ogj'...
fatal: unable to access 'https://github.com/AFNetworking/AFNetworking.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 ```
解决方案:

取消HTTP代理
git config --global --unset https.proxy

你可能感兴趣的:(cocopod出现LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443)