使用cocoapods的鏡像索引
命令如下
1.pod repo remove master
2.pod repo add master?http://git.oschina.net/akuandev/Specs.git
即可使用 oschina 上的鏡像
3.命令行輸入:git clone https://git.coding.net/CocoaPods/Specs.git ~/.cocoapods/repos/master 用來下載源代碼到master文件夾下
4.最后輸入pod ?repo?update