查看镜像源列表
$ pod repo list
修改master镜像源,将之前镜像源删除
$ cd ~/.cocoapods/repos
$ pod repo remove master
github镜像源
$ git clone https://github.com/CocoaPods/Specs.git
项目podfile里:
source 'https://github.com/CocoaPods/Specs.git'
github下载很慢,所以要更换国内镜像
网友评论