糟糕的错误
本来开心开心的,下班的时候需要引用一个新的第三库。
哦豁!突然cocoapods就不行,啊这!
/opt/homebrew/Cellar/ruby/3.3.0/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** **)**
from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/rubygems.rb:278:in `activate_bin_path'
from /usr/local/bin/pod:25:in `<main>'
查了半天资料终于找到了一个靠谱的 sudo gem install cocoapods
使用pod setup检查是否已经正常。
今天的bug,就写到这儿吧!