Skip to content
戴铭 edited this page Feb 27, 2015 · 2 revisions

#安装 ##命令行更新(安装)步骤

$ sudo gem update --system // 先更新gem,国内需要切换源
$ gem sources --remove https://rubygems.org/
$ gem sources -a http://ruby.taobao.org/
$ gem sources -l
\*\*\* CURRENT SOURCES \*\*\*
http://ruby.taobao.org/
$ sudo gem install cocoapods // 安装cocoapods
$ pod setup

##cocoapods常用命令 pod —version 检查版本

Clone this wiki locally