Skip to content

Flutter iOS builds should verify that Generated.xcconfig is included in the configuration #12749

@cbracken

Description

@cbracken

The FLUTTER_* variables defined in Generated.xcconfig are critical to successfully building for iOS. These are used in at least two key places:

  1. To locate the the xcode_backend.sh file in the build run-script phase.
  2. Within of xcode_backend.sh, for the various Flutter build settings.

We should detect that this file is (transitively) included from the build configuration's .xcconfig. One way to do this might just be to use xcodebuild -showBuildSettings and verify that all required variables are set. That avoids parsing Xcode project files and tying ourselves to a proprietary file format that could change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectplatform-iosiOS applications specificallyt: xcode"xcodebuild" on iOS and general Xcode project managementteam-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