File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed
templates/module/ios/host_app_ephemeral/Flutter/engine Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -172,14 +172,16 @@ class _FlutterProject {
172
172
// it's not a regression in the IPHONEOS_DEPLOYMENT_TARGET override logic.
173
173
// The plugintest target should not have IPHONEOS_DEPLOYMENT_TARGET set.
174
174
// See _reduceDarwinPluginMinimumVersion for details.
175
- if (target == 'ios' && 'IPHONEOS_DEPLOYMENT_TARGET' .allMatches (podsProjectContent).length != 6 ) {
176
- throw TaskResult .failure ('plugintest may contain IPHONEOS_DEPLOYMENT_TARGET' );
175
+ final int iosDeploymentTargetCount = 'IPHONEOS_DEPLOYMENT_TARGET' .allMatches (podsProjectContent).length;
176
+ if (target == 'ios' && iosDeploymentTargetCount != 9 ) {
177
+ throw TaskResult .failure ('plugintest may contain IPHONEOS_DEPLOYMENT_TARGET, $iosDeploymentTargetCount found' );
177
178
}
178
179
179
180
// Same for macOS, but 12.
180
181
// The plugintest target should not have MACOSX_DEPLOYMENT_TARGET set.
181
- if (target == 'macos' && 'MACOSX_DEPLOYMENT_TARGET' .allMatches (podsProjectContent).length != 12 ) {
182
- throw TaskResult .failure ('plugintest may contain MACOSX_DEPLOYMENT_TARGET' );
182
+ final int macosDeploymentTargetCount = 'MACOSX_DEPLOYMENT_TARGET' .allMatches (podsProjectContent).length;
183
+ if (target == 'macos' && macosDeploymentTargetCount != 12 ) {
184
+ throw TaskResult .failure ('plugintest may contain MACOSX_DEPLOYMENT_TARGET, $macosDeploymentTargetCount found' );
183
185
}
184
186
}
185
187
});
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ def flutter_install_ios_engine_pod(ios_application_path = nil)
177
177
s.license = { :type => 'MIT' }
178
178
s.author = { 'Flutter Dev Team' => '[email protected] ' }
179
179
s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
180
- s.ios.deployment_target = '8 .0'
180
+ s.ios.deployment_target = '9 .0'
181
181
# Framework linking is handled by Flutter tooling, not CocoaPods.
182
182
# Add a placeholder to satisfy `s.dependency 'Flutter'` plugin podspecs.
183
183
s.vendored_frameworks = 'path/to/nothing'
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ LICENSE
286
286
s.author = { 'Flutter Dev Team' => '[email protected] ' }
287
287
s.source = { :http => '${_cache .storageBaseUrl }/flutter_infra_release/flutter/${_cache .engineRevision }/$artifactsMode /artifacts.zip' }
288
288
s.documentation_url = 'https://flutter.dev/docs'
289
- s.platform = :ios, '8 .0'
289
+ s.platform = :ios, '9 .0'
290
290
s.vendored_frameworks = 'Flutter.xcframework'
291
291
end
292
292
''' ;
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ This pod vends the iOS Flutter engine framework. It is compatible with applicati
15
15
s.author = { 'Flutter Dev Team' => '
[email protected] ' }
16
16
s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
17
17
s.documentation_url = 'https://flutter.dev/docs'
18
- s.ios.deployment_target = '8 .0'
18
+ s.ios.deployment_target = '9 .0'
19
19
s.vendored_frameworks = 'Flutter.xcframework'
20
20
end
You can’t perform that action at this time.
0 commit comments