CocoaPods

https://www.jianshu.com/p/01a9800612d3

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

 

sudo xcode-select --install

 

On macOS Catalina
After installing and uninstalling the developer tools multiple times, this is the only thing that worked for me:

First install the Ruby Version Manager rvm:

curl -L https://get.rvm.io | bash -s stable

Then install the latest version of ruby:

rvm install ruby-2.7.2

Finally try again to install the cocoapods:

gem install cocoapods


/Users/wangjy118/.cocoapods/repos
posted @ 2021-03-26 17:42  雨筱逸悠  阅读(42)  评论(0编辑  收藏  举报