Skip to content

Typing an invalid flavor incorrectly presents virtual SwiftPM dependencies as available Flutter flavors #190098

Closed

Description

@okorohelijah

If a developer makes a typo in their flavor (e.g., flutter build ios --flavor Prdo), Flutter throws an error attempting to list available schemes:

The Xcode project defines schemes: Runner, Amplitude-Swift, Foo-Dependency... You must specify a --flavor option to select one of the available schemes.

Presenting virtual SwiftPM dependencies as valid Flutter flavors is can be incredibly confusing for users.

Activity

  1. added
    team-iosOwned by iOS platform team
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Jul 27, 2026
  2. added
    P2Important issues not at the top of the work list
    triaged-iosTriaged by iOS platform team
    on Jul 31, 2026
  3. vashworth commented on Aug 24, 2026

    @vashworth
    Contributor

    @okorohelijah Do you have an example project of this? I was unable to reproduce.

  4. added a commit that references this issue on Sep 21, 2026
    feafe41
  5. github-actions commented on Oct 5, 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.

  6. locked as resolved and limited conversation to collaborators on Oct 5, 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