Skip to content

Misleading flutter doctor message about cocoapods #14293

@goderbauer

Description

@goderbauer

Flutter doctor was giving me this message:

    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To install:
        brew install cocoapods
        pod setup

When executing brew install cocoapods as suggested, I got this message:

Error: cocoapods 1.3.1 is already installed
To upgrade to 1.4.0, run `brew upgrade cocoapods`

Do we need to change the doctor message and detect that it is maybe just out of date?

/cc @xster @cbracken

Metadata

Metadata

Labels

a: first hourThe first hour of using Flutterp: toolingAffects the flutter_plugin_tools packagepackageflutter/packages repository. See also p: labels.platform-macBuilding on or for macOS specificallytoolAffects the "flutter" command-line tool. See also t: labels.‎‍platform-catalinaIssues related to macOS Catalina

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions