CocoaPods Conflicts with asdf
If asdf is installed on your machine, it might create problems when running CocoaPods, and Flutter will erroneously suggest installing CocoaPods via Homebrew with
brew install cocoapods. This won’t work, because for this specific configuration, CocoaPods needs to be installed via RubyGems. To fix this configuration issue, run
gem install cocoapods && pod setup.