昨天更新Cocoapods 遇到点小问题 记录一下
pod install 之后 发现卡住不动了

其实这并不是卡主了 本来以为是网速慢而是网速过慢等等就好了, 可是等了一上午也没好, 打开"活动监视器", 原来一点都没动, 我去........

我的解决方法是
将http.postBuffer设置的尽量大,例如git config --global https.postBuffer 524288000 (500M)
最后成功了
PS
不是每次都成功的, 我大概试了 两三次
最近又发现了一个好用的方法
[原文地址](https://blog.csdn.net/wuquan0625/article/details/47401235
简单说下原理: 速度很慢, 不是网速很慢, 而是由于墙的原因 访问git很慢
先设置代理
git config --global http.https://github.com.proxy socks5://127.0.0.1:1080
然后 在pod install
git config --global --unset http.https://github.com.proxy
网友评论