最关键的是,使用4G+VPN,速度能达2MB。
没有4G,速度只有20KB。
还有一个,要用浅拷贝,然后不停深入,最后在完工。
git clone --depth=1 https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
cd ~/.cocoapods/repos/master
git fetch --depth=10
git fetch --unshallow
没有一个好的网速,就别想弄程序了。
下次网速不好就开4G和VPN。