Cocoapods Specs Repo部署在github上面,网络不好的话做一次pod install要等半个小时以上,严重降低生产力啊!!
当然可以暂时指定 --no-repo-update ,但是总等更新吧。实在被逼得没办法自己做了一个国内的镜像,现在每次安装新的依赖包速度飞快!不敢独享,分享给大家一起使用。
使用方法:
pod repo remove master
pod repo add master https://gitcafe.com/lloydsheng/Specs.git
pod repo update
目前镜像每半个小时同步一次,基本和中央库保证一致。
相关资料:
CocoaPods安装和使用教程: http://code4app.com/article/cocoapods-install-usage
当然可以暂时指定 --no-repo-update ,但是总等更新吧。实在被逼得没办法自己做了一个国内的镜像,现在每次安装新的依赖包速度飞快!不敢独享,分享给大家一起使用。
使用方法:
pod repo remove master
pod repo add master https://gitcafe.com/lloydsheng/Specs.git
pod repo update
目前镜像每半个小时同步一次,基本和中央库保证一致。
相关资料:
CocoaPods安装和使用教程: http://code4app.com/article/cocoapods-install-usage