cocoapods

// 適配新版本  更改源
gem sources --add https://ruby.taobao.org/ --remove http://ruby.taobao.org/

1.升級10.11後,運行pod命令出現:sql

      -bash: pod: command not found

 安裝時   Mac-mini:~ macuser$ sudo gem install cocoapodsruby

      ERROR:  While executing gem ... (Errno::EPERM)bash

          Operation not permitted - /usr/bin/podui



解決辦法:spa

sudo gem install -n /usr/local/bin cocoapods
相關文章
相關標籤/搜索