Skip to content

Do not show Swift Package Manager warnings when targeting non-iOS or macOS #185775

Closed

Description

@jmagman

I just ran flutter run on an Android phone and see Swift Package Manager warnings:

42 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
The following plugins do not support Swift Package Manager for ios:
  - google_maps_flutter_ios
This will become an error in a future version of Flutter. Please contact the plugin maintainers to request Swift Package Manager adoption.
The following plugins do not support Swift Package Manager for macos:
  - desktop_window
This will become an error in a future version of Flutter. Please contact the plugin maintainers to request Swift Package Manager adoption.
Launching lib/main.dart on Pixel 7 Pro in debug mode...

I don't think we should show this unless targeting iOS or macOS.

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    team-iosOwned by iOS platform team
    on Apr 29, 2026
  2. added
    P2Important issues not at the top of the work list
    triaged-iosTriaged by iOS platform team
    on Apr 30, 2026
  3. github-actions commented on May 25, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  4. locked as resolved and limited conversation to collaborators on May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions