Skip to content

Commit 3c9288c

Browse files
authored
Increase minimum supported macOS version from 10.13 to 10.14 (flutter#114713)
Increases the minimum macOS deployment target from macOS 10.13 (High Sierra) to 10.14 (Mojave) in the macOS app templates. Includes: * Update migration for macOS 10.11 apps to upgrade to 10.14 * Adds migration for macOS 10.13 apps to upgrade to 10.14 * Apply migration to all examples, and integration tests This does not increase version in the plugin templates since those will need to wait until the 10.14 framework rolls to stable channel, so new plugins can build with apps created with `flutter create` on stable channel. Issue: flutter#114445 See RFC: http://flutter.dev/go/flutter-drop-macOS-10.13-2022-q4 See previous patch: flutter#107689
1 parent a54a46d commit 3c9288c

File tree

24 files changed

+103
-64
lines changed

24 files changed

+103
-64
lines changed

dev/benchmarks/complex_layout/macos/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
platform :osx, '10.13'
1+
platform :osx, '10.14'
22

33
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
44
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

dev/benchmarks/complex_layout/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@
387387
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
388388
GCC_WARN_UNUSED_FUNCTION = YES;
389389
GCC_WARN_UNUSED_VARIABLE = YES;
390-
MACOSX_DEPLOYMENT_TARGET = 10.13;
390+
MACOSX_DEPLOYMENT_TARGET = 10.14;
391391
MTL_ENABLE_DEBUG_INFO = NO;
392392
SDKROOT = macosx;
393393
SWIFT_COMPILATION_MODE = wholemodule;
@@ -466,7 +466,7 @@
466466
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
467467
GCC_WARN_UNUSED_FUNCTION = YES;
468468
GCC_WARN_UNUSED_VARIABLE = YES;
469-
MACOSX_DEPLOYMENT_TARGET = 10.13;
469+
MACOSX_DEPLOYMENT_TARGET = 10.14;
470470
MTL_ENABLE_DEBUG_INFO = YES;
471471
ONLY_ACTIVE_ARCH = YES;
472472
SDKROOT = macosx;
@@ -513,7 +513,7 @@
513513
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
514514
GCC_WARN_UNUSED_FUNCTION = YES;
515515
GCC_WARN_UNUSED_VARIABLE = YES;
516-
MACOSX_DEPLOYMENT_TARGET = 10.13;
516+
MACOSX_DEPLOYMENT_TARGET = 10.14;
517517
MTL_ENABLE_DEBUG_INFO = NO;
518518
SDKROOT = macosx;
519519
SWIFT_COMPILATION_MODE = wholemodule;

dev/benchmarks/macrobenchmarks/macos/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
platform :osx, '10.13'
1+
platform :osx, '10.14'
22

33
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
44
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

dev/benchmarks/macrobenchmarks/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@
400400
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
401401
GCC_WARN_UNUSED_FUNCTION = YES;
402402
GCC_WARN_UNUSED_VARIABLE = YES;
403-
MACOSX_DEPLOYMENT_TARGET = 10.13;
403+
MACOSX_DEPLOYMENT_TARGET = 10.14;
404404
MTL_ENABLE_DEBUG_INFO = NO;
405405
SDKROOT = macosx;
406406
SWIFT_COMPILATION_MODE = wholemodule;
@@ -479,7 +479,7 @@
479479
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
480480
GCC_WARN_UNUSED_FUNCTION = YES;
481481
GCC_WARN_UNUSED_VARIABLE = YES;
482-
MACOSX_DEPLOYMENT_TARGET = 10.13;
482+
MACOSX_DEPLOYMENT_TARGET = 10.14;
483483
MTL_ENABLE_DEBUG_INFO = YES;
484484
ONLY_ACTIVE_ARCH = YES;
485485
SDKROOT = macosx;
@@ -526,7 +526,7 @@
526526
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
527527
GCC_WARN_UNUSED_FUNCTION = YES;
528528
GCC_WARN_UNUSED_VARIABLE = YES;
529-
MACOSX_DEPLOYMENT_TARGET = 10.13;
529+
MACOSX_DEPLOYMENT_TARGET = 10.14;
530530
MTL_ENABLE_DEBUG_INFO = NO;
531531
SDKROOT = macosx;
532532
SWIFT_COMPILATION_MODE = wholemodule;

dev/integration_tests/channels/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@
345345
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
346346
GCC_WARN_UNUSED_FUNCTION = YES;
347347
GCC_WARN_UNUSED_VARIABLE = YES;
348-
MACOSX_DEPLOYMENT_TARGET = 10.13;
348+
MACOSX_DEPLOYMENT_TARGET = 10.14;
349349
MTL_ENABLE_DEBUG_INFO = NO;
350350
SDKROOT = macosx;
351351
SWIFT_COMPILATION_MODE = wholemodule;
@@ -424,7 +424,7 @@
424424
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
425425
GCC_WARN_UNUSED_FUNCTION = YES;
426426
GCC_WARN_UNUSED_VARIABLE = YES;
427-
MACOSX_DEPLOYMENT_TARGET = 10.13;
427+
MACOSX_DEPLOYMENT_TARGET = 10.14;
428428
MTL_ENABLE_DEBUG_INFO = YES;
429429
ONLY_ACTIVE_ARCH = YES;
430430
SDKROOT = macosx;
@@ -471,7 +471,7 @@
471471
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
472472
GCC_WARN_UNUSED_FUNCTION = YES;
473473
GCC_WARN_UNUSED_VARIABLE = YES;
474-
MACOSX_DEPLOYMENT_TARGET = 10.13;
474+
MACOSX_DEPLOYMENT_TARGET = 10.14;
475475
MTL_ENABLE_DEBUG_INFO = NO;
476476
SDKROOT = macosx;
477477
SWIFT_COMPILATION_MODE = wholemodule;

dev/integration_tests/flutter_gallery/macos/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
platform :osx, '10.13'
1+
platform :osx, '10.14'
22

33
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
44
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

dev/integration_tests/flutter_gallery/macos/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ EXTERNAL SOURCES:
2626

2727
SPEC CHECKSUMS:
2828
connectivity_macos: 5dae6ee11d320fac7c05f0d08bd08fc32b5514d9
29-
FlutterMacOS: ff8bbbdbe83c20fe0f90a7cc96f00cf753baf5cc
29+
FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24
3030
Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96
3131
url_launcher_macos: 597e05b8e514239626bcf4a850fcf9ef5c856ec3
3232

33-
PODFILE CHECKSUM: 8719e666d6ae56e47eb36dbc2c8341bbe936a0e6
33+
PODFILE CHECKSUM: 2e6060c123c393d6beb3ee5b7beaf789de4d2e47
3434

3535
COCOAPODS: 1.11.3

dev/integration_tests/flutter_gallery/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@
507507
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
508508
GCC_WARN_UNUSED_FUNCTION = YES;
509509
GCC_WARN_UNUSED_VARIABLE = YES;
510-
MACOSX_DEPLOYMENT_TARGET = 10.13;
510+
MACOSX_DEPLOYMENT_TARGET = 10.14;
511511
MTL_ENABLE_DEBUG_INFO = NO;
512512
SDKROOT = macosx;
513513
SWIFT_COMPILATION_MODE = wholemodule;
@@ -586,7 +586,7 @@
586586
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
587587
GCC_WARN_UNUSED_FUNCTION = YES;
588588
GCC_WARN_UNUSED_VARIABLE = YES;
589-
MACOSX_DEPLOYMENT_TARGET = 10.13;
589+
MACOSX_DEPLOYMENT_TARGET = 10.14;
590590
MTL_ENABLE_DEBUG_INFO = YES;
591591
ONLY_ACTIVE_ARCH = YES;
592592
SDKROOT = macosx;
@@ -633,7 +633,7 @@
633633
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
634634
GCC_WARN_UNUSED_FUNCTION = YES;
635635
GCC_WARN_UNUSED_VARIABLE = YES;
636-
MACOSX_DEPLOYMENT_TARGET = 10.13;
636+
MACOSX_DEPLOYMENT_TARGET = 10.14;
637637
MTL_ENABLE_DEBUG_INFO = NO;
638638
SDKROOT = macosx;
639639
SWIFT_COMPILATION_MODE = wholemodule;

dev/integration_tests/ui/macos/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
platform :osx, '10.13'
1+
platform :osx, '10.14'
22

33
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
44
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

dev/integration_tests/ui/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@
387387
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
388388
GCC_WARN_UNUSED_FUNCTION = YES;
389389
GCC_WARN_UNUSED_VARIABLE = YES;
390-
MACOSX_DEPLOYMENT_TARGET = 10.13;
390+
MACOSX_DEPLOYMENT_TARGET = 10.14;
391391
MTL_ENABLE_DEBUG_INFO = NO;
392392
SDKROOT = macosx;
393393
SWIFT_COMPILATION_MODE = wholemodule;
@@ -466,7 +466,7 @@
466466
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
467467
GCC_WARN_UNUSED_FUNCTION = YES;
468468
GCC_WARN_UNUSED_VARIABLE = YES;
469-
MACOSX_DEPLOYMENT_TARGET = 10.13;
469+
MACOSX_DEPLOYMENT_TARGET = 10.14;
470470
MTL_ENABLE_DEBUG_INFO = YES;
471471
ONLY_ACTIVE_ARCH = YES;
472472
SDKROOT = macosx;
@@ -513,7 +513,7 @@
513513
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
514514
GCC_WARN_UNUSED_FUNCTION = YES;
515515
GCC_WARN_UNUSED_VARIABLE = YES;
516-
MACOSX_DEPLOYMENT_TARGET = 10.13;
516+
MACOSX_DEPLOYMENT_TARGET = 10.14;
517517
MTL_ENABLE_DEBUG_INFO = NO;
518518
SDKROOT = macosx;
519519
SWIFT_COMPILATION_MODE = wholemodule;

0 commit comments

Comments
 (0)