由于各种原因,在安装cocoapods的时候
经常卡在
Cloning spec repo `master` from `https://github.com/CocoaPods/Specs.git` (branch `master`)
所以,我们自己下载下来,然后帮他配置成功
首先从github下载下来,解压
# 解压zip,放入~/.cocoapods/repos/,改名为master
git init
git remote add origin https://github.com/CocoaPods/Specs.git
git remote -v #和git clone没啥区别了
跳过更新
pod update --verbose --no-repo-update