Skip to content

Commit fa89608

Browse files
committed
feat: update macOS deployment target to 10.15 and enhance entitlements for file access
1 parent 642eb04 commit fa89608

File tree

5 files changed

+18
-6
lines changed

5 files changed

+18
-6
lines changed

macos/Podfile

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

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

macos/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ EXTERNAL SOURCES:
2020
:path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos
2121

2222
SPEC CHECKSUMS:
23-
FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24
23+
FlutterMacOS: d0db08ddef1a9af05a5ec4b724367152bb0500b1
2424
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
2525
url_launcher_macos: c82c93949963e55b228a30115bd219499a6fe404
2626

27-
PODFILE CHECKSUM: 7eb978b976557c8c1cd717d8185ec483fd090a82
27+
PODFILE CHECKSUM: 54d867c82ac51cbd61b565781b9fada492027009
2828

2929
COCOAPODS: 1.16.2

macos/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@
557557
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
558558
GCC_WARN_UNUSED_FUNCTION = YES;
559559
GCC_WARN_UNUSED_VARIABLE = YES;
560-
MACOSX_DEPLOYMENT_TARGET = 10.14;
560+
MACOSX_DEPLOYMENT_TARGET = 10.15;
561561
MTL_ENABLE_DEBUG_INFO = NO;
562562
SDKROOT = macosx;
563563
SWIFT_COMPILATION_MODE = wholemodule;
@@ -639,7 +639,7 @@
639639
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
640640
GCC_WARN_UNUSED_FUNCTION = YES;
641641
GCC_WARN_UNUSED_VARIABLE = YES;
642-
MACOSX_DEPLOYMENT_TARGET = 10.14;
642+
MACOSX_DEPLOYMENT_TARGET = 10.15;
643643
MTL_ENABLE_DEBUG_INFO = YES;
644644
ONLY_ACTIVE_ARCH = YES;
645645
SDKROOT = macosx;
@@ -689,7 +689,7 @@
689689
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
690690
GCC_WARN_UNUSED_FUNCTION = YES;
691691
GCC_WARN_UNUSED_VARIABLE = YES;
692-
MACOSX_DEPLOYMENT_TARGET = 10.14;
692+
MACOSX_DEPLOYMENT_TARGET = 10.15;
693693
MTL_ENABLE_DEBUG_INFO = NO;
694694
SDKROOT = macosx;
695695
SWIFT_COMPILATION_MODE = wholemodule;

macos/Runner/DebugProfile.entitlements

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
<true/>
77
<key>com.apple.security.cs.allow-jit</key>
88
<true/>
9+
<key>com.apple.security.files.downloads.read-write</key>
10+
<true/>
11+
<key>com.apple.security.files.user-selected.read-write</key>
12+
<true/>
913
<key>com.apple.security.network.client</key>
1014
<true/>
1115
<key>com.apple.security.network.server</key>

macos/Runner/Release.entitlements

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,13 @@
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
66
<true/>
7+
<key>com.apple.security.files.downloads.read-write</key>
8+
<true/>
9+
<key>com.apple.security.files.user-selected.read-write</key>
10+
<true/>
11+
<key>com.apple.security.network.client</key>
12+
<true/>
13+
<key>com.apple.security.network.server</key>
14+
<true/>
715
</dict>
816
</plist>

0 commit comments

Comments
 (0)