卸载pod
sudo rm -fr ~/Library/Caches/CocoaPods/
sudo rm -fr ~/.cocoapods/repos/master/
sudo rm -fr Pods/
安装pod
gem install -n /usr/local/bin cocoapods
pod setup
在这一步的时候会出现这种情况
虽然网上有打把,但是这是我用的 😜
cd ~/.cocoapods/repos
git clone https://github.com/CocoaPods/Specs.git master