-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Enforce minimum plugin version iOS 11 #103545
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
| if (podsProjectContent.contains('IPHONEOS_DEPLOYMENT_TARGET = 7')) { | ||
| // in _reduceDarwinPluginMinimumVersion to 10, which is below the target version of 11. | ||
| if (podsProjectContent.contains('IPHONEOS_DEPLOYMENT_TARGET = 10')) { | ||
| throw TaskResult.failure('Plugin build setting IPHONEOS_DEPLOYMENT_TARGET not removed'); |
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.
Confirmed that with the test change and without podhelper.rb on master, the test fails (proving this test is validating the correct thing).
[plugin_test_ios] Process terminated with exit code 0.
Task result:
{
"success": false,
"reason": "Plugin build setting IPHONEOS_DEPLOYMENT_TARGET not removed"
}
christopherfujino
left a comment
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
|
This pull request is not suitable for automatic merging in its current state.
|
stuartmorgan-g
left a comment
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.
Once this lands it would be nice to build everything in flutter/plugins and look for deprecation warnings (we may already have suppressed them all due to people who were already using 11+ for their apps filing issues, but maybe not), so we can fix those before this is widely rolled out and cut down on the number of one-off bugs about warnings.
App-side, enforce that plugins should only be built for iOS 11 and higher.
Part of #101959. Will allow the engine framework to increase the minimum to iOS 11 since apps will no longer try to build plugins for iOS 9 linking against Flutter.framework.
Will unblock #101964
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.