解决pod setup 慢的问题

使用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

你可能感兴趣的:(解决pod setup 慢的问题)