ruby gems executable-hook is not found when trying to build ios flutter project

laximzn5  于 12个月前  发布在  Ruby
关注(0)|答案(1)|浏览(97)

当我运行flutter run命令时,

Error output from CocoaPods:
           ↳
[        ]     Ignoring executable-hooks-1.6.1 because its extensions are not built. Try: gem pristine executable-hooks --version 1.6.1
               Ignoring executable-hooks-1.6.1 because its extensions are not built. Try: gem pristine executable-hooks --version 1.6.1

并实际尝试运行此gem pristine executable-hooks --version 1.6.1作为错误建议,但最终与此错误

Ignoring executable-hooks-1.6.1 because its extensions are not built. Try: gem pristine executable-hooks --version 1.6.1
Error loading RubyGems plugin "/Users/[user_name]/.rvm/rubies/ruby-3.1.2/lib/ruby/gems/3.1.0/plugins/executable-hooks_plugin.rb": cannot load such file -- executable-hooks/wrapper (LoadError)
bfhwhh0e

bfhwhh0e1#

确保你运行flutter clean,pub get并尝试运行pod update。如果成功了再谢我

相关问题