/usr/local/Cellar/ruby/3.3.6/lib/ruby/3.3.0/rubygems.rb:259:in `find_spec_for_exe': can't find gem cocoapods (>= 0.a) with executable pod (Gem::GemNotFoundException)
问题:
/usr/local/Cellar/ruby/3.3.6/lib/ruby/3.3.0/rubygems.rb:259:in `find_spec_for_exe': can't find gem cocoapods (>= 0.a) with executable pod (Gem::GemNotFoundException)
解决:
sudo gem uninstall cocoapods
sudo gem install -n /usr/local/bin cocoapods
来源:https://stackoverflow.com/questions/73092311/cant-find-gem-cocoapods-0-a-with-executable-pod-react-native-pod-install