在使用cocoapods的 pod install 过程中,如果出现Installing XXX某个库时非常缓慢,可以采用以下办法解决:
1、查看当前配置命令
git config -l
2、加大 httpBuffer
git config --global http.postbuffer 524288000
3、压缩配置
git config --global core.compression -1
4、修改配置文件
export GIT_TRACE_PACKET=1
export GIT_TRACE=1
export GIT_CURL_VERBOSE=1
以上配置文件修改后,一般就可以大幅度提升pod install的速度