cocoapods 安装
1.更换加载源
sudo gem update --system
gem sources --remove https://rubygems.org/
gem sources --add https://gems.ruby-china.com/
2.开始安装cocoapods
sudo gem install -n /usr/local/bin cocoapods
3.下载完成之后初始化设置
pod setup
握不住的沙,干脆扬了它。