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進行安裝