I have a M1 Mac. I had this app working perfectly fine until last week. Past two days I am trying to figure out a solution for the below issue -
This is what Flutter Doctor says -
This is what gem list says -
This is what I have tried so far -
- sudo gem uninstall cocoapods
2.sudo gem install cocoapods
Ran the app, I get the same error.
Then I uninstalled cocoapods and installed with brew -
1.sudo gem uninstalled cocoapods
2.brew install cocoapods
3.pod setup
Ran the app, I get the same error. I have cocoapods installed, why does it say not installed when running the app and using when running flutter doctor?
I have tried a lot of steps mentioned in stackoverflow and github.