-
Notifications
You must be signed in to change notification settings - Fork 28.8k
iOS: Update minimum iOS version to 13.0 #167737
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Update ios_deployment_target from 12.0 to 13.0. 2. Change templates to `IPHONEOS_DEPLOYMENT_TARGET`, `MinimumOSVersion`, and Podfile `platform :ios` to 12.0. 3. Add migrator for Podfile part to migrate `platform :ios, '11.0'` -> `platform :ios, '12.0'` 4. Compile with `-miphoneos-version-min=12.0` 5. Run the migrator on all example apps and integration tests. See also (ios_deployment_target): * flutter/buildroot#808 * flutter/buildroot#574 See also (template, migrator): * flutter#62902 * flutter#85174 * flutter#101963 * flutter#140478 Issue: flutter#167735
stuartmorgan-g
approved these changes
Apr 24, 2025
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.
LGTM
Allow symbols in (__DATA_CONST,__const) table so long as they meet the naming requirements for exported Flutter symbols.
zanderso
approved these changes
Apr 24, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 25, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 25, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 3, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 4, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 5, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 5, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 5, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 5, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 5, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 5, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 5, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 5, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 6, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 6, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 6, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 6, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 7, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 7, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 7, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 7, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 7, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 7, 2025
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 7, 2025
cbracken
added a commit
to cbracken/flutter
that referenced
this pull request
May 9, 2025
Previously updated for non-Swift in flutter#167737.
cbracken
added a commit
to cbracken/flutter
that referenced
this pull request
May 13, 2025
Previously updated for non-Swift in flutter#167737.
cbracken
added a commit
to cbracken/flutter
that referenced
this pull request
May 13, 2025
Previously updated for non-Swift in flutter#167737.
cbracken
added a commit
to cbracken/flutter
that referenced
this pull request
May 13, 2025
Previously updated for non-Swift in flutter#167737.
cbracken
added a commit
to cbracken/flutter
that referenced
this pull request
May 13, 2025
Previously updated for non-Swift in flutter#167737.
cbracken
added a commit
to cbracken/flutter
that referenced
this pull request
May 13, 2025
Previously updated for non-Swift in flutter#167737.
cbracken
added a commit
to cbracken/flutter
that referenced
this pull request
May 14, 2025
Previously updated for non-Swift in flutter#167737.
cbracken
added a commit
to cbracken/flutter
that referenced
this pull request
May 14, 2025
Previously updated for non-Swift in flutter#167737.
cbracken
added a commit
to cbracken/flutter
that referenced
this pull request
May 15, 2025
Previously updated for non-Swift in flutter#167737.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
a: tests
"flutter test", flutter_test, or one of our tests
d: examples
Sample code and demos
engine
flutter/engine repository. See also e: labels.
f: integration_test
The flutter/packages/integration_test plugin
framework
flutter/packages/flutter repository. See also f: labels.
platform-ios
iOS applications specifically
team-ios
Owned by iOS platform team
tool
Affects the "flutter" command-line tool. See also t: labels.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This updates the Flutter minimum iOS version from 12.0 to 13.0, adds a migrator for existing apps, and updates our own examples, tests, and benchmark apps to 13.0. A follow-up patch will drop iOS 13
@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
As of March 2025, usage of iOS is well below 1%, see example public usage data here:
https://telemetrydeck.com/survey/apple/iOS/majorSystemVersions/
This patch makes the following changes:
IPHONEOS_DEPLOYMENT_TARGET
,MinimumOSVersion
, and Podfileplatform :ios
to 12.0.platform :ios, '11.0'
->platform :ios, '12.0'
-miphoneos-version-min=12.0
It also updates
verify_exported.dart
:__DATA
section which may be mapped read-write, but now they're in a dedicated__DATA_CONST
section which is mapped read-only. This adds(__DATA_CONST,__const)
to the allowlist with the same enforcement on exported symbol naming as before.See also (ios_deployment_target):
See also (template, migrator):
Issue: #167735
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.