CocoaPods installed but not working.
You appear to have CocoaPods installed but it is not working.
This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
This can usually be fixed by re-installing CocoaPods.
-
Hi, any update on whether you fount a solution to this?Ayan Dasgupta– Ayan Dasgupta2023-05-07 07:32:51 +00:00Commented May 7, 2023 at 7:32
Add a comment
|
2 Answers
You should try this
- flutter clean
- delete /ios/Pods
- delete /ios/Podfile.lock
- flutter pub get
- from inside ios folder: pod install
- flutter run
1 Comment
Manish Bhardwaj
still same error ,,CocoaPods installed but not working
check pod --version, if return something like this
1: from /Users/macbookpro/.rvm/rubies/ruby-2.7.8/lib/ruby/gems/2.7.0/gems/activesupport-7.1.0/lib/active_support/core_ext/array/conversions.rb:8:in
<top (required)>' /Users/macbookpro/.rvm/rubies/ruby-2.7.8/lib/ruby/gems/2.7.0/gems/activesupport-7.1.0/lib/active_support/core_ext/array/conversions.rb:108:inclass:Array': undefined method `deprecator' for ActiveSupport:Module (NoMethodError) Did you mean? deprecate_constant
there is incompatible active_support version. Try this answer