Skip to content

Flutter install problem on ios #64856

@bhanuka96

Description

@bhanuka96

I build ios using this command

flutter build ios --flavor dev -t lib/main_dev.dart

And then try to install,

bhanukas-mbp-2:user-app bhanukaisuru$ flutter install

The Xcode project defines schemes: dev, prod
You must specify a --flavor option to select one of the available schemes.
bhanukas-mbp-2:user-app bhanukaisuru$ flutter install dev

The Xcode project defines schemes: dev, prod
You must specify a --flavor option to select one of the available schemes.
bhanukas-mbp-2:user-app bhanukaisuru$ flutter install --flavor dev
Could not find an option named "flavor".


Run 'flutter -h' (or 'flutter <command> -h') for available flutter commands and options.
bhanukas-mbp-2:user-app bhanukaisuru$ 

Flutter install was working previously, after the update it's not installing to ios. 😭

Current Flutter version

bhanukas-mbp-2:user-app bhanukaisuru$ flutter --version
Flutter 1.20.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision bbfbf1770c (2 weeks ago) • 2020-08-13 08:33:09 -0700
Engine • revision 9d5b21729f
Tools • Dart 2.9.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    in triagePresently being triaged by the triage team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions