iOS 开发

OSX 环境

2016-03-18  本文已影响35人  牵线小丑

Homebrew

  1. 安装
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  2. 卸载
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

  3. 更新
    brew update

  4. brew 安装时下载的路径:
    brew --cache

cocoapods

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

PS:os x10.11 安装: sudo gem install -n /usr/local/bin cocoapods

持续更新-

上一篇下一篇

猜你喜欢

热点阅读