cocoapods升級

 

一、更新gem:sudo gem update --systemruby

  先要查看下源,若是源被牆了就換地址:https://gems.ruby-china.comrem

      1.一、刪除gem源:gem sources --remove https://gems.ruby-china.org/date

      1.二、修改gem源:gem sources -a https://gems.ruby-china.comcocoapods

二、升級cocoapods:sudo gem install -n /usr/local/bin cocoapods --precocoa

相關文章
相關標籤/搜索