Increase app minimum supported macOS version from 10.11 to 10.13 (#107689)
This commit is contained in:
@@ -95,11 +95,11 @@ def flutter_additional_macos_build_settings(target)
|
||||
# [target.deployment_target] is a [String] formatted as "10.8".
|
||||
deployment_target_major, deployment_target_minor = target.deployment_target.match(/(\d+).?(\d*)/).captures
|
||||
|
||||
# Suppress warning when pod supports a version lower than the minimum supported by the latest stable version of Xcode (currently 10.9).
|
||||
# Suppress warning when pod supports a version lower than the minimum supported by the latest stable version of Xcode (currently 10.13).
|
||||
# This warning is harmless but confusing--it's not a bad thing for dependencies to support a lower version.
|
||||
inherit_deployment_target = !target.deployment_target.blank? &&
|
||||
(deployment_target_major.to_i < 10) ||
|
||||
(deployment_target_major.to_i == 10 && deployment_target_minor.to_i < 9)
|
||||
(deployment_target_major.to_i == 10 && deployment_target_minor.to_i < 13)
|
||||
|
||||
# This podhelper script is at $FLUTTER_ROOT/packages/flutter_tools/bin.
|
||||
# Add search paths from $FLUTTER_ROOT/bin/cache/artifacts/engine.
|
||||
@@ -220,7 +220,7 @@ def flutter_install_macos_engine_pod(mac_application_path = nil)
|
||||
s.license = { :type => 'BSD' }
|
||||
s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
|
||||
s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
|
||||
s.osx.deployment_target = '10.11'
|
||||
s.osx.deployment_target = '10.13'
|
||||
# Framework linking is handled by Flutter tooling, not CocoaPods.
|
||||
# Add a placeholder to satisfy `s.dependency 'FlutterMacOS'` plugin podspecs.
|
||||
s.vendored_frameworks = 'path/to/nothing'
|
||||
|
||||
Reference in New Issue
Block a user