在項(xiàng)目中的Podfile文件中 添加第三方庫 比如 Masonry埃篓,
image.png
當(dāng)在終端pod install 后報(bào)以下錯(cuò)誤
“fatal: unable to access 'https://github.com/cloudkite/Masonry.git/': LibreSSL SSL_connect: Operation timed out in connection to github.com:443 ”
解決方法:
1廊酣、在終端輸入git config --global --unset http.proxy
2洲愤、在終端輸入git config --global --unset https.proxy
3忍级、查看一下gitconfig 文件 open ~/.gitconfig
4、重新 pod install 一下
image.png
注意: 每次在podfile 中新添加一個(gè)第三方庫都要再次 執(zhí)行
git config --global --unset http.proxy 和
git config --global --unset https.proxy