Thanks to visit codestin.com
Credit goes to github.com

Skip to content

et build no longer works after https://github.com/flutter/flutter/pull/167945 #167970

@dkwingsmt

Description

@dkwingsmt

Error log:

❯ et build -c host_debug_unopt_arm64
[2025-04-28 19:53:00.328882][macos/host_debug_unopt_arm64: GN]: FAILED
COMMAND:
/Users/tongmu/dev/flutter/engine/src/flutter/tools/gn --runtime-mode debug --unopt --mac-cpu arm64 --xcode-symlinks --rbe --no-goma --lto
STDOUT:

STDERR:
Traceback (most recent call last):
  File "/Users/tongmu/dev/flutter/engine/src/flutter/tools/gn", line 1311, in <module>
    sys.exit(main(sys.argv))
  File "/Users/tongmu/dev/flutter/engine/src/flutter/tools/gn", line 1290, in main
    gn_args = to_command_line(to_gn_args(args))
  File "/Users/tongmu/dev/flutter/engine/src/flutter/tools/gn", line 529, in to_gn_args
    gn_args.update(setup_apple_sdks())
  File "/Users/tongmu/dev/flutter/engine/src/flutter/tools/gn", line 301, in setup_apple_sdks
    platform_entries = os.listdir(platforms_path)
FileNotFoundError: [Errno 2] No such file or directory: '/Users/tongmu/dev/flutter/engine/src/flutter/prebuilts/Platforms'

Running on macOS 15.4.1 (24E263).

I've bisected the culprit to be #167945. @cbracken

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work listc: regressionIt was better in the past than it is nowe: engine-toolEngine-specific tooling (i.e. `tools/engine_tool`).fyi-iosFor the attention of iOS platform teamplatform-macBuilding on or for macOS specificallyteam-engineOwned by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions