Skip to content

Call xcode_backend.dart from macos_assemble.sh #168033

Description

@vashworth

When iOS and macOS Flutter apps build, they use Xcode Run Scripts to call do various logic.

For iOS, the Run Scripts calls a bash file (xcode_backend.sh), which then calls a dart file (xcode_backend.dart). xcode_backend.dart then calls flutter assemble.

For macOS, the Run Scripts calls a bash file (macos_assemble.sh), which then calls flutter assemble directly.

xcode_backend.dart and macos_assemble.sh do roughly the same thing. We should call xcode_backend.dart from macos_assemble.sh like we do in xcode_backend.sh so logic can be shared and written in Dart. Since these files all live within the tool, no changes to the project will be needed.

This will simplify adding shared logic for SwiftPM: flutter.dev/go/swift-package-manager-plugins-v3

Activity

  1. added
    platform-iosiOS applications specifically
    toolAffects the "flutter" command-line tool. See also t: labels.
    platform-macosBuilding on or for macOS specifically
    P2Important issues not at the top of the work list
    team-iosOwned by iOS platform team
    triaged-iosTriaged by iOS platform team
    on Apr 30, 2025
  2. added theissue type on Apr 30, 2025
  3. self-assigned this
    on Apr 30, 2025
  4. github-actions commented on May 27, 2025

    @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.

  5. locked as resolved and limited conversation to collaborators on May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listplatform-iosiOS applications specificallyplatform-macosBuilding on or for macOS specificallyteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform team

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions