-
Notifications
You must be signed in to change notification settings - Fork 28.5k
macOS: Update minimum macOS version to 10.15 #168101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
iOS deployment target was migrated from 12 to 13 in: * flutter#167737 macOS deployment target was migrated from 10.14 to 10.15 in: * flutter#168101 Issue: flutter#167735 Issue: flutter#167745
/cc all the people who might care about this. Blog entry added in the doc. |
@@ -218,7 +218,7 @@ keep this 2 | |||
expect(testLogger.statusText, isEmpty); | |||
}); | |||
|
|||
testWithoutContext('Xcode project is migrated from 10.11 to 10.14', () async { | |||
testWithoutContext('Xcode project is migrated from 10.11 to 10.15', () async { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious how migration script works - say a user is on 10.11, do they run migration scripts for 10.12, 10.13, 10.14, and then finally 10.15? Or is it migrating from any versions above directly to 10.15?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It migrates directly, but only if the deployment target is one we set in the Xcode project template. If they updated it themselves to something specific, they are on their own:
This reverts commit f524fe3.
This reverts commit 4c5d0de.
This updates the Flutter minimum macOS version from 10.14 to 10.15 adds a migrator for existing apps, and updates our own examples, tests, and benchmark apps to 10.15. A follow-up patch will drop macOS 10.15
@available
checks in the embedder.This is required in order to use Swift in the embedder and not need to bundle the Swift runtime libs in every app that uses Flutter. Swift stable ABI was introduced in macOS 10.14.4.
As of March 2025, usage of macOS 10.14 is approximately 1.2~1.8% depending on source of statistics, see example public usage data here:
https://gs.statcounter.com/macos-version-market-share/desktop/worldwide
This patch makes the following changes:
MACOSX_DEPLOYMENT_TARGET
,MinimumOSVersion
, and Podfileplatform :osx
to 10.15.platform :osx, '10.14'
->platform :osx, '10.15'
-mmacosx-version-min=10.15
Issue: #167745
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.