问题描述
今天macOS升级到10.14后,发现CocoaPods用不了了。rvm也没了。
$ pod --version
-bash: pod: command not found
$ rvm -v
-bash: rvm: command not found
问题描述.png
解决方案
1. 安装RVM
$ \curl -sSL https://get.rvm.io | bash -s stable
$ source ~/.bashrc
$ source ~/.bash_profile
安装RVM.png
2. 安装CocoaPods
$ sudo gem install cocoapods
安装CocoaPods.png
搞定。