搜索
您的当前位置:首页正文

cocospods 安装

来源:二三娱乐

cocoapods安装

步骤1: 安装xcode

步骤2: 安装homebrew

步骤3: 安装RVM

终端命令2: source ~/.rvm/scripts/rvm

终端命令3: 此时已经安装完成, 用 ram -v 查看版本信息:rvm 1.22.17 (stable) by Wayne E

步骤4:安装ruby

终端命令1;  rvm 2.0.0 --default

终端命令2:  ruby -v

步骤5: 安装cocoaPods

因为我的是os-x-ei, 命令是: sudo gem install -n /usr/local/bin cocoapods

如果是以前的os版本,命令用sudo gem install cocoapods

然后: pod setup

Top