Skip to content

Commit c4975d9

Browse files
authored
Increase app minimum supported macOS version from 10.11 to 10.13 (#107689)
1 parent 89f8e5f commit c4975d9

File tree

21 files changed

+315
-159
lines changed

21 files changed

+315
-159
lines changed

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.11'
1+
platform :osx, '10.13'
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
@@ -399,7 +399,7 @@
399399
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
400400
GCC_WARN_UNUSED_FUNCTION = YES;
401401
GCC_WARN_UNUSED_VARIABLE = YES;
402-
MACOSX_DEPLOYMENT_TARGET = 10.11;
402+
MACOSX_DEPLOYMENT_TARGET = 10.13;
403403
MTL_ENABLE_DEBUG_INFO = NO;
404404
SDKROOT = macosx;
405405
SWIFT_COMPILATION_MODE = wholemodule;
@@ -478,7 +478,7 @@
478478
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
479479
GCC_WARN_UNUSED_FUNCTION = YES;
480480
GCC_WARN_UNUSED_VARIABLE = YES;
481-
MACOSX_DEPLOYMENT_TARGET = 10.11;
481+
MACOSX_DEPLOYMENT_TARGET = 10.13;
482482
MTL_ENABLE_DEBUG_INFO = YES;
483483
ONLY_ACTIVE_ARCH = YES;
484484
SDKROOT = macosx;
@@ -525,7 +525,7 @@
525525
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
526526
GCC_WARN_UNUSED_FUNCTION = YES;
527527
GCC_WARN_UNUSED_VARIABLE = YES;
528-
MACOSX_DEPLOYMENT_TARGET = 10.11;
528+
MACOSX_DEPLOYMENT_TARGET = 10.13;
529529
MTL_ENABLE_DEBUG_INFO = NO;
530530
SDKROOT = macosx;
531531
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.11'
1+
platform :osx, '10.13'
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: 4 additions & 4 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: 57701585bf7de1b3fc2bb61f6378d73bbdea8424
29+
FlutterMacOS: ff8bbbdbe83c20fe0f90a7cc96f00cf753baf5cc
3030
Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96
31-
url_launcher_macos: 45af3d61de06997666568a7149c1be98b41c95d4
31+
url_launcher_macos: 597e05b8e514239626bcf4a850fcf9ef5c856ec3
3232

33-
PODFILE CHECKSUM: b5c36ba411e4471a03727d0463fa17be341876c1
33+
PODFILE CHECKSUM: 8719e666d6ae56e47eb36dbc2c8341bbe936a0e6
3434

35-
COCOAPODS: 1.11.2
35+
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
@@ -506,7 +506,7 @@
506506
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
507507
GCC_WARN_UNUSED_FUNCTION = YES;
508508
GCC_WARN_UNUSED_VARIABLE = YES;
509-
MACOSX_DEPLOYMENT_TARGET = 10.11;
509+
MACOSX_DEPLOYMENT_TARGET = 10.13;
510510
MTL_ENABLE_DEBUG_INFO = NO;
511511
SDKROOT = macosx;
512512
SWIFT_COMPILATION_MODE = wholemodule;
@@ -585,7 +585,7 @@
585585
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
586586
GCC_WARN_UNUSED_FUNCTION = YES;
587587
GCC_WARN_UNUSED_VARIABLE = YES;
588-
MACOSX_DEPLOYMENT_TARGET = 10.11;
588+
MACOSX_DEPLOYMENT_TARGET = 10.13;
589589
MTL_ENABLE_DEBUG_INFO = YES;
590590
ONLY_ACTIVE_ARCH = YES;
591591
SDKROOT = macosx;
@@ -632,7 +632,7 @@
632632
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
633633
GCC_WARN_UNUSED_FUNCTION = YES;
634634
GCC_WARN_UNUSED_VARIABLE = YES;
635-
MACOSX_DEPLOYMENT_TARGET = 10.11;
635+
MACOSX_DEPLOYMENT_TARGET = 10.13;
636636
MTL_ENABLE_DEBUG_INFO = NO;
637637
SDKROOT = macosx;
638638
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.11'
1+
platform :osx, '10.13'
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
@@ -386,7 +386,7 @@
386386
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
387387
GCC_WARN_UNUSED_FUNCTION = YES;
388388
GCC_WARN_UNUSED_VARIABLE = YES;
389-
MACOSX_DEPLOYMENT_TARGET = 10.11;
389+
MACOSX_DEPLOYMENT_TARGET = 10.13;
390390
MTL_ENABLE_DEBUG_INFO = NO;
391391
SDKROOT = macosx;
392392
SWIFT_COMPILATION_MODE = wholemodule;
@@ -465,7 +465,7 @@
465465
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
466466
GCC_WARN_UNUSED_FUNCTION = YES;
467467
GCC_WARN_UNUSED_VARIABLE = YES;
468-
MACOSX_DEPLOYMENT_TARGET = 10.11;
468+
MACOSX_DEPLOYMENT_TARGET = 10.13;
469469
MTL_ENABLE_DEBUG_INFO = YES;
470470
ONLY_ACTIVE_ARCH = YES;
471471
SDKROOT = macosx;
@@ -512,7 +512,7 @@
512512
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
513513
GCC_WARN_UNUSED_FUNCTION = YES;
514514
GCC_WARN_UNUSED_VARIABLE = YES;
515-
MACOSX_DEPLOYMENT_TARGET = 10.11;
515+
MACOSX_DEPLOYMENT_TARGET = 10.13;
516516
MTL_ENABLE_DEBUG_INFO = NO;
517517
SDKROOT = macosx;
518518
SWIFT_COMPILATION_MODE = wholemodule;

dev/manual_tests/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
345345
GCC_WARN_UNUSED_FUNCTION = YES;
346346
GCC_WARN_UNUSED_VARIABLE = YES;
347-
MACOSX_DEPLOYMENT_TARGET = 10.11;
347+
MACOSX_DEPLOYMENT_TARGET = 10.13;
348348
MTL_ENABLE_DEBUG_INFO = NO;
349349
SDKROOT = macosx;
350350
SWIFT_COMPILATION_MODE = wholemodule;
@@ -423,7 +423,7 @@
423423
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
424424
GCC_WARN_UNUSED_FUNCTION = YES;
425425
GCC_WARN_UNUSED_VARIABLE = YES;
426-
MACOSX_DEPLOYMENT_TARGET = 10.11;
426+
MACOSX_DEPLOYMENT_TARGET = 10.13;
427427
MTL_ENABLE_DEBUG_INFO = YES;
428428
ONLY_ACTIVE_ARCH = YES;
429429
SDKROOT = macosx;
@@ -470,7 +470,7 @@
470470
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
471471
GCC_WARN_UNUSED_FUNCTION = YES;
472472
GCC_WARN_UNUSED_VARIABLE = YES;
473-
MACOSX_DEPLOYMENT_TARGET = 10.11;
473+
MACOSX_DEPLOYMENT_TARGET = 10.13;
474474
MTL_ENABLE_DEBUG_INFO = NO;
475475
SDKROOT = macosx;
476476
SWIFT_COMPILATION_MODE = wholemodule;

examples/hello_world/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
345345
GCC_WARN_UNUSED_FUNCTION = YES;
346346
GCC_WARN_UNUSED_VARIABLE = YES;
347-
MACOSX_DEPLOYMENT_TARGET = 10.11;
347+
MACOSX_DEPLOYMENT_TARGET = 10.13;
348348
MTL_ENABLE_DEBUG_INFO = NO;
349349
SDKROOT = macosx;
350350
SWIFT_COMPILATION_MODE = wholemodule;
@@ -423,7 +423,7 @@
423423
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
424424
GCC_WARN_UNUSED_FUNCTION = YES;
425425
GCC_WARN_UNUSED_VARIABLE = YES;
426-
MACOSX_DEPLOYMENT_TARGET = 10.11;
426+
MACOSX_DEPLOYMENT_TARGET = 10.13;
427427
MTL_ENABLE_DEBUG_INFO = YES;
428428
ONLY_ACTIVE_ARCH = YES;
429429
SDKROOT = macosx;
@@ -470,7 +470,7 @@
470470
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
471471
GCC_WARN_UNUSED_FUNCTION = YES;
472472
GCC_WARN_UNUSED_VARIABLE = YES;
473-
MACOSX_DEPLOYMENT_TARGET = 10.11;
473+
MACOSX_DEPLOYMENT_TARGET = 10.13;
474474
MTL_ENABLE_DEBUG_INFO = NO;
475475
SDKROOT = macosx;
476476
SWIFT_COMPILATION_MODE = wholemodule;

examples/image_list/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
345345
GCC_WARN_UNUSED_FUNCTION = YES;
346346
GCC_WARN_UNUSED_VARIABLE = YES;
347-
MACOSX_DEPLOYMENT_TARGET = 10.11;
347+
MACOSX_DEPLOYMENT_TARGET = 10.13;
348348
MTL_ENABLE_DEBUG_INFO = NO;
349349
SDKROOT = macosx;
350350
SWIFT_COMPILATION_MODE = wholemodule;
@@ -423,7 +423,7 @@
423423
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
424424
GCC_WARN_UNUSED_FUNCTION = YES;
425425
GCC_WARN_UNUSED_VARIABLE = YES;
426-
MACOSX_DEPLOYMENT_TARGET = 10.11;
426+
MACOSX_DEPLOYMENT_TARGET = 10.13;
427427
MTL_ENABLE_DEBUG_INFO = YES;
428428
ONLY_ACTIVE_ARCH = YES;
429429
SDKROOT = macosx;
@@ -470,7 +470,7 @@
470470
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
471471
GCC_WARN_UNUSED_FUNCTION = YES;
472472
GCC_WARN_UNUSED_VARIABLE = YES;
473-
MACOSX_DEPLOYMENT_TARGET = 10.11;
473+
MACOSX_DEPLOYMENT_TARGET = 10.13;
474474
MTL_ENABLE_DEBUG_INFO = NO;
475475
SDKROOT = macosx;
476476
SWIFT_COMPILATION_MODE = wholemodule;

examples/layers/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
345345
GCC_WARN_UNUSED_FUNCTION = YES;
346346
GCC_WARN_UNUSED_VARIABLE = YES;
347-
MACOSX_DEPLOYMENT_TARGET = 10.11;
347+
MACOSX_DEPLOYMENT_TARGET = 10.13;
348348
MTL_ENABLE_DEBUG_INFO = NO;
349349
SDKROOT = macosx;
350350
SWIFT_COMPILATION_MODE = wholemodule;
@@ -422,7 +422,7 @@
422422
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
423423
GCC_WARN_UNUSED_FUNCTION = YES;
424424
GCC_WARN_UNUSED_VARIABLE = YES;
425-
MACOSX_DEPLOYMENT_TARGET = 10.11;
425+
MACOSX_DEPLOYMENT_TARGET = 10.13;
426426
MTL_ENABLE_DEBUG_INFO = YES;
427427
ONLY_ACTIVE_ARCH = YES;
428428
SDKROOT = macosx;
@@ -469,7 +469,7 @@
469469
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
470470
GCC_WARN_UNUSED_FUNCTION = YES;
471471
GCC_WARN_UNUSED_VARIABLE = YES;
472-
MACOSX_DEPLOYMENT_TARGET = 10.11;
472+
MACOSX_DEPLOYMENT_TARGET = 10.13;
473473
MTL_ENABLE_DEBUG_INFO = NO;
474474
SDKROOT = macosx;
475475
SWIFT_COMPILATION_MODE = wholemodule;

packages/flutter_tools/bin/podhelper.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ def flutter_additional_macos_build_settings(target)
9595
# [target.deployment_target] is a [String] formatted as "10.8".
9696
deployment_target_major, deployment_target_minor = target.deployment_target.match(/(\d+).?(\d*)/).captures
9797

98-
# Suppress warning when pod supports a version lower than the minimum supported by the latest stable version of Xcode (currently 10.9).
98+
# Suppress warning when pod supports a version lower than the minimum supported by the latest stable version of Xcode (currently 10.13).
9999
# This warning is harmless but confusing--it's not a bad thing for dependencies to support a lower version.
100100
inherit_deployment_target = !target.deployment_target.blank? &&
101101
(deployment_target_major.to_i < 10) ||
102-
(deployment_target_major.to_i == 10 && deployment_target_minor.to_i < 9)
102+
(deployment_target_major.to_i == 10 && deployment_target_minor.to_i < 13)
103103

104104
# This podhelper script is at $FLUTTER_ROOT/packages/flutter_tools/bin.
105105
# Add search paths from $FLUTTER_ROOT/bin/cache/artifacts/engine.
@@ -220,7 +220,7 @@ def flutter_install_macos_engine_pod(mac_application_path = nil)
220220
s.license = { :type => 'BSD' }
221221
s.author = { 'Flutter Dev Team' => '[email protected]' }
222222
s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
223-
s.osx.deployment_target = '10.11'
223+
s.osx.deployment_target = '10.13'
224224
# Framework linking is handled by Flutter tooling, not CocoaPods.
225225
# Add a placeholder to satisfy `s.dependency 'FlutterMacOS'` plugin podspecs.
226226
s.vendored_frameworks = 'path/to/nothing'

packages/flutter_tools/lib/src/commands/build_macos_framework.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ LICENSE
162162
s.author = { 'Flutter Dev Team' => '[email protected]' }
163163
s.source = { :http => '${cache.storageBaseUrl}/flutter_infra_release/flutter/${cache.engineRevision}/$artifactsMode/artifacts.zip' }
164164
s.documentation_url = 'https://flutter.dev/docs'
165-
s.osx.deployment_target = '10.11'
165+
s.osx.deployment_target = '10.13'
166166
s.vendored_frameworks = 'FlutterMacOS.framework'
167167
s.prepare_command = 'unzip FlutterMacOS.framework -d FlutterMacOS.framework'
168168
end

packages/flutter_tools/lib/src/ios/mac.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import '../reporting/reporting.dart';
2525
import 'application_package.dart';
2626
import 'code_signing.dart';
2727
import 'iproxy.dart';
28-
import 'migrations/deployment_target_migration.dart';
2928
import 'migrations/host_app_info_plist_migration.dart';
29+
import 'migrations/ios_deployment_target_migration.dart';
3030
import 'migrations/project_base_configuration_migration.dart';
3131
import 'migrations/project_build_location_migration.dart';
3232
import 'migrations/project_object_version_migration.dart';
@@ -123,7 +123,7 @@ Future<XcodeBuildResult> buildXcodeProject({
123123
XcodeBuildSystemMigration(app.project, globals.logger),
124124
ProjectBaseConfigurationMigration(app.project, globals.logger),
125125
ProjectBuildLocationMigration(app.project, globals.logger),
126-
DeploymentTargetMigration(app.project, globals.logger),
126+
IOSDeploymentTargetMigration(app.project, globals.logger),
127127
ProjectObjectVersionMigration(app.project, globals.logger),
128128
HostAppInfoPlistMigration(app.project, globals.logger),
129129
];

packages/flutter_tools/lib/src/ios/migrations/deployment_target_migration.dart renamed to packages/flutter_tools/lib/src/ios/migrations/ios_deployment_target_migration.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import '../../base/project_migrator.dart';
77
import '../../xcode_project.dart';
88

99
/// Update the minimum iOS deployment version to the minimum allowed by Xcode without causing a warning.
10-
class DeploymentTargetMigration extends ProjectMigrator {
11-
DeploymentTargetMigration(
10+
class IOSDeploymentTargetMigration extends ProjectMigrator {
11+
IOSDeploymentTargetMigration(
1212
IosProject project,
1313
super.logger,
1414
) : _xcodeProjectInfoFile = project.xcodeProjectInfoFile,
@@ -36,7 +36,7 @@ class DeploymentTargetMigration extends ProjectMigrator {
3636
if (_podfile.existsSync()) {
3737
processFileLines(_podfile);
3838
} else {
39-
logger.printTrace('Podfile not found, skipping global platform version migration.');
39+
logger.printTrace('Podfile not found, skipping global platform iOS version migration.');
4040
}
4141

4242
return true;

packages/flutter_tools/lib/src/macos/build_macos.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import '../ios/xcode_build_settings.dart';
1414
import '../ios/xcodeproj.dart';
1515
import '../project.dart';
1616
import 'cocoapod_utils.dart';
17+
import 'migrations/macos_deployment_target_migration.dart';
1718
import 'migrations/remove_macos_framework_link_and_embedding_migration.dart';
1819

1920
/// When run in -quiet mode, Xcode should only print from the underlying tasks to stdout.
@@ -45,6 +46,7 @@ Future<void> buildMacOS({
4546
globals.logger,
4647
globals.flutterUsage,
4748
),
49+
MacOSDeploymentTargetMigration(flutterProject.macos, globals.logger),
4850
];
4951

5052
final ProjectMigration migration = ProjectMigration(migrators);
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
// Copyright 2014 The Flutter Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
5+
import '../../base/file_system.dart';
6+
import '../../base/project_migrator.dart';
7+
import '../../xcode_project.dart';
8+
9+
/// Update the minimum macOS deployment version to the minimum allowed by Xcode without causing a warning.
10+
class MacOSDeploymentTargetMigration extends ProjectMigrator {
11+
MacOSDeploymentTargetMigration(
12+
MacOSProject project,
13+
super.logger,
14+
) : _xcodeProjectInfoFile = project.xcodeProjectInfoFile,
15+
_podfile = project.podfile;
16+
17+
final File _xcodeProjectInfoFile;
18+
final File _podfile;
19+
20+
@override
21+
bool migrate() {
22+
if (_xcodeProjectInfoFile.existsSync()) {
23+
processFileLines(_xcodeProjectInfoFile);
24+
} else {
25+
logger.printTrace('Xcode project not found, skipping macOS deployment target version migration.');
26+
}
27+
28+
if (_podfile.existsSync()) {
29+
processFileLines(_podfile);
30+
} else {
31+
logger.printTrace('Podfile not found, skipping global platform macOS version migration.');
32+
}
33+
34+
return true;
35+
}
36+
37+
@override
38+
String? migrateLine(String line) {
39+
// Xcode project file changes.
40+
const String deploymentTargetOriginal = 'MACOSX_DEPLOYMENT_TARGET = 10.11;';
41+
42+
// Podfile changes.
43+
const String podfilePlatformVersionOriginal = "platform :osx, '10.11'";
44+
45+
if (line.contains(deploymentTargetOriginal) || line.contains(podfilePlatformVersionOriginal)) {
46+
if (!migrationRequired) {
47+
// Only print for the first discovered change found.
48+
logger.printStatus('Updating minimum macOS deployment target to 10.13.');
49+
}
50+
51+
const String deploymentTargetReplacement = 'MACOSX_DEPLOYMENT_TARGET = 10.13;';
52+
const String podfilePlatformVersionReplacement = "platform :osx, '10.13'";
53+
return line
54+
.replaceAll(deploymentTargetOriginal, deploymentTargetReplacement)
55+
.replaceAll(podfilePlatformVersionOriginal, podfilePlatformVersionReplacement);
56+
}
57+
58+
return line;
59+
}
60+
}

packages/flutter_tools/templates/app_shared/macos.tmpl/Runner.xcodeproj/project.pbxproj.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
345345
GCC_WARN_UNUSED_FUNCTION = YES;
346346
GCC_WARN_UNUSED_VARIABLE = YES;
347-
MACOSX_DEPLOYMENT_TARGET = 10.11;
347+
MACOSX_DEPLOYMENT_TARGET = 10.13;
348348
MTL_ENABLE_DEBUG_INFO = NO;
349349
SDKROOT = macosx;
350350
SWIFT_COMPILATION_MODE = wholemodule;
@@ -423,7 +423,7 @@
423423
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
424424
GCC_WARN_UNUSED_FUNCTION = YES;
425425
GCC_WARN_UNUSED_VARIABLE = YES;
426-
MACOSX_DEPLOYMENT_TARGET = 10.11;
426+
MACOSX_DEPLOYMENT_TARGET = 10.13;
427427
MTL_ENABLE_DEBUG_INFO = YES;
428428
ONLY_ACTIVE_ARCH = YES;
429429
SDKROOT = macosx;
@@ -470,7 +470,7 @@
470470
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
471471
GCC_WARN_UNUSED_FUNCTION = YES;
472472
GCC_WARN_UNUSED_VARIABLE = YES;
473-
MACOSX_DEPLOYMENT_TARGET = 10.11;
473+
MACOSX_DEPLOYMENT_TARGET = 10.13;
474474
MTL_ENABLE_DEBUG_INFO = NO;
475475
SDKROOT = macosx;
476476
SWIFT_COMPILATION_MODE = wholemodule;

0 commit comments

Comments
 (0)