Flutter Doctor CocoaPods not installed

1,698

What worked for me was to uninstall Cocoapods using sudo gem uninstall cocoapods and using Homebrew instead brew install cocoapods. P.s. I'm using an M1 Macbook.

Share:
1,698
Nighthawk
Author by

Nighthawk

Updated on December 18, 2022

Comments

  • Nighthawk
    Nighthawk over 1 year

    When I run Flutter doctor: enter image description here

    I have tried to run sudo gem install cocoapods to install it but still the same issue.

    Please not that I am running xcode 12 with the newest flutter version in the dev channel.

    Any ideas?

    Error after running the flutter build:

    enter image description here

  • Nighthawk
    Nighthawk over 3 years
    Thanks. The error that I am getting after trying to run my flutter app is that CocoaPods is not installed. Please note that I have tried running both sudo gem install cocoapods and sudo gem install ruby.
  • Nighthawk
    Nighthawk over 3 years
    Please see the newly added picture above.