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
posted @ 2019-06-10 12:52  蓝色的风1203  阅读(150)  评论(0编辑  收藏  举报