File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/flutter_tools/bin Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ class $dartPluginClass {
204
204
podspecContent = podspecContent.replaceFirst (
205
205
versionString,
206
206
target == 'ios'
207
- ? "s.platform = :ios, '7 .0'"
207
+ ? "s.platform = :ios, '10 .0'"
208
208
: "s.platform = :osx, '10.8'"
209
209
);
210
210
podspec.writeAsStringSync (podspecContent, flush: true );
@@ -240,8 +240,8 @@ class $dartPluginClass {
240
240
if (target == 'ios' ) {
241
241
// Plugins with versions lower than the app version should not have IPHONEOS_DEPLOYMENT_TARGET set.
242
242
// The plugintest plugin target should not have IPHONEOS_DEPLOYMENT_TARGET set since it has been lowered
243
- // in _reduceDarwinPluginMinimumVersion to 7 , which is below the target version of 9 .
244
- if (podsProjectContent.contains ('IPHONEOS_DEPLOYMENT_TARGET = 7 ' )) {
243
+ // in _reduceDarwinPluginMinimumVersion to 10 , which is below the target version of 11 .
244
+ if (podsProjectContent.contains ('IPHONEOS_DEPLOYMENT_TARGET = 10 ' )) {
245
245
throw TaskResult .failure ('Plugin build setting IPHONEOS_DEPLOYMENT_TARGET not removed' );
246
246
}
247
247
if (! podsProjectContent.contains (r'"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "$(inherited) i386";' )) {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def flutter_additional_ios_build_settings(target)
34
34
return unless target . platform_name == :ios
35
35
36
36
# [target.deployment_target] is a [String] formatted as "8.0".
37
- inherit_deployment_target = target . deployment_target [ /\d +/ ] . to_i < 9
37
+ inherit_deployment_target = target . deployment_target [ /\d +/ ] . to_i < 11
38
38
39
39
# This podhelper script is at $FLUTTER_ROOT/packages/flutter_tools/bin.
40
40
# Add search paths from $FLUTTER_ROOT/bin/cache/artifacts/engine.
You can’t perform that action at this time.
0 commit comments