cocoapods fatal: unable to access ‘https://github.com/.../‘: LibreSSL SSL_connect: SSL_ERROR_SY

参考https://blog.csdn.net/qq_37555071/article/details/114260533

没有配置代理,检查发现github ping不通
使用https://amazonaws.com.ipaddress.com/ 查询如图三个url的实际ip,然后添加到hosts文件
vi /etc/hosts

截屏2021-08-20 下午11.48.05.png

你可能感兴趣的:(cocoapods fatal: unable to access ‘https://github.com/.../‘: LibreSSL SSL_connect: SSL_ERROR_SY)