第1年6月29日 cocoapods国内镜像

1. 

$ cd ~/.cocoapods/repos 
$ pod repo remove master
$ git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git master

最后进入自己的工程,在自己工程的podFile第一行加上(要替换原来的source语句):

 

source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'

 


https://www.jianshu.com/p/43176cdcecd0
 
 
giee源
https://gitee.com/mirrors/CocoaPods-Specs.git
 
posted @ 2021-06-29 15:43  lianhuaren  阅读(332)  评论(0编辑  收藏  举报