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進行安裝
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章