Skip to content

Allow users to pass in Xcode build settings as env variables to "flutter build macos" FLUTTER_XCODE_ #81377

Description

@renancaraujo

This is a feature request on the flutter_tools package.

Use case

When running flutter build macos one may need to specify an Xcode build setting.

Some flutter commands already allow the specification via a prefixed model of environment variables, as defined on #43553.

Weirdly, among these commands, we have flutter clean (that already affects the macOS project) but not flutter build macos.

This is vaguely related to #49378.

Proposal

Allow flutter build macos to fetch for FLUTTER_XCODE_ env vars.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: buildBuilding flutter applications with the toolc: proposalA detailed proposal for a change to Flutterplatform-macosBuilding on or for macOS specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    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