cocopod 换源,加速,(清华源)

COCOPODS 换源

清华镜像源网站:https://mirrors.tuna.tsinghua.edu.cn/help/CocoaPods/

# 在shell中执行下面命令
$ cd ~/.cocoapods/repos 
$ pod repo remove master
$ git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git master
#在项目的podfile 文件添加下面一行
#source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
#然后和以前意义,使用pod install进行安装
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章