Skip to content

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

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.

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions