Skip to content

Commit 24ab77e

Browse files
committed
macos: Bump deployment target from 10.14 to 10.15
Fixes #1116. Done by changing the line in the Podfile, and following the (recently added) comment there by changing a setting in the Xcode GUI. The Podfile change seems to be the only thing missing when Greg attempted this bump: (from #1116) > Naturally we're happy to bump up our minimum macOS deployment > target — 10.15 is from 2019, and even increasing to last year's > macOS 14 would be perfectly fine. But I spent a few minutes just > now attempting to do so — editing the `MACOSX_DEPLOYMENT_TARGET = > 10.14;` lines in the `project.pbxproj` file so they say 10.15 (or > 13.0) instead, then also tried setting it in Xcode which added > some new lines of that form — and the error persisted. (Perhaps > there's somewhere *else* that `pod update` is looking? Perhaps it > has a cache of some kind that it fails to update?)
1 parent 5781031 commit 24ab77e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

macos/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This should match the macOS Deployment Target
22
# (in Xcode, that's in project > Runner > Info)
3-
platform :osx, '10.14'
3+
platform :osx, '10.15'
44

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

macos/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,6 @@ SPEC CHECKSUMS:
183183
video_player_avfoundation: 7c6c11d8470e1675df7397027218274b6d2360b3
184184
wakelock_plus: 4783562c9a43d209c458cb9b30692134af456269
185185

186-
PODFILE CHECKSUM: 373340d0a0047cc0734b3222969df87760de28c0
186+
PODFILE CHECKSUM: bcc9d1ecd86955a8f8907c4c114e92d74ab88cc1
187187

188188
COCOAPODS: 1.16.2

macos/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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.14;
425+
MACOSX_DEPLOYMENT_TARGET = 10.15;
426426
MTL_ENABLE_DEBUG_INFO = NO;
427427
SDKROOT = macosx;
428428
SWIFT_COMPILATION_MODE = wholemodule;
@@ -501,7 +501,7 @@
501501
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
502502
GCC_WARN_UNUSED_FUNCTION = YES;
503503
GCC_WARN_UNUSED_VARIABLE = YES;
504-
MACOSX_DEPLOYMENT_TARGET = 10.14;
504+
MACOSX_DEPLOYMENT_TARGET = 10.15;
505505
MTL_ENABLE_DEBUG_INFO = YES;
506506
ONLY_ACTIVE_ARCH = YES;
507507
SDKROOT = macosx;
@@ -548,7 +548,7 @@
548548
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
549549
GCC_WARN_UNUSED_FUNCTION = YES;
550550
GCC_WARN_UNUSED_VARIABLE = YES;
551-
MACOSX_DEPLOYMENT_TARGET = 10.14;
551+
MACOSX_DEPLOYMENT_TARGET = 10.15;
552552
MTL_ENABLE_DEBUG_INFO = NO;
553553
SDKROOT = macosx;
554554
SWIFT_COMPILATION_MODE = wholemodule;

0 commit comments

Comments
 (0)