Traceback (most recent call last):
2: from /usr/local/bin/pod:23:in `<main>'
1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:302:in `activate_bin_path'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem cocoapods (>= 0.a) with executable pod (Gem::GemNotFoundException)
pod install 失败 ,报这个错,试过了
解决步骤:
1、sudo gem update --system
2、gem install cocoapods
没成功,然后使用
1.rvm get stable
2.gem install cocoapods
成功了,遇到这种问题的可以尝试