CocoaPods conflicts with asdf
If asdf(opens in a new tab) 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(opens in a new tab). To fix this configuration issue, run gem install cocoapods && pod setup
.