Mac重装ruby并重装cocoapods

rvm install ruby-2.6
ruby -v
rvm use ruby-2.6.6
rvm --default use 2.6.6
sudo gem install -n /usr/local/bin cocoapods
pod --version
pod search afnetworking

你可能感兴趣的:(IOS)