Skip to content

When using a CocoaPod-only plugin, the Flutter CLI should give guidance to update plugin versions #195806

Closed

Description

@vashworth

Currently, when you have a plugin that doesn't support SwiftPM, you'll get a warning like this:

The following plugins do not support Swift Package Manager for ios:
  - xxx
This will become an error in a future version of Flutter. Please contact the plugin maintainers to request Swift Package Manager adoption.

However, sometimes the plugin does already support SwiftPM, but they're on an older version of the plugin. In which case, you should probably do something like flutter pub upgrade xxx

Activity

  1. added
    tool
    P2
    team-ios
    triaged-ios
    on Nov 2, 2026
  2. vashworth commented on Nov 2, 2026

    @vashworth
    ContributorAuthor

    It's possible they could also need to upgrade to a major version: flutter pub upgrade --major-versions xxx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2team-iostooltriaged-ios

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions