You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Typing an invalid flavor incorrectly presents virtual SwiftPM dependencies as available Flutter flavors #190098
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.
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.
Activity
Exclude local Swift package schemes from --flavor error message
vashworth commentedon Aug 24, 2026
@okorohelijah Do you have an example project of this? I was unable to reproduce.
Exclude local Swift package schemes from --flavor error message (flut…
github-actions commentedon Oct 5, 2026
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 -vand a minimal reproduction of the issue.