flutteractionsbot 2350e38394
[CP-stable]fix: macOS Mojave Crash on Flutter Desktop Startup (#172602)
### Issue Link:

https://github.com/flutter/flutter/pull/172282#issue-3238376093

### Changelog Description:

Do not call an API that was introduced in macOS 10.15 on versions before 10.15.

### Impact Description:

Apps will crash on macOS 10.14 (which is a supported platform according to https://docs.flutter.dev/reference/supported-platforms)

### Workaround:
Is there a workaround for this issue?

No

### Risk:
What is the risk level of this cherry-pick?

### Test Coverage:
Are you confident that your fix is well-tested by automated tests?

(Tests that run on current versions of macOS will confirm that this PR does not cause regressions.  But I don't know if we have any tests that run on macOS 10.14)

### Validation Steps:
What are the steps to validate that this fix works?

Run a Flutter app on macOS Mojave (10.14)
2025-07-23 17:23:52 +00:00
..

Flutter Engine

Setting up the Engine development environment

See here

gclient bootstrap

Flutter engine uses gclient to manage dependencies.

If you've already cloned the flutter repository:

  1. Copy one of the engine/scripts/*.gclient to the root folder as .gclient:
    1. Googlers: copy rbe.gclient to enable faster builds with RBE
    2. Everyone else: copy standard.gclient
  2. run gclient sync from the root folder