From 63ae524352a0df7d791f297ae056ddf516d6de1b Mon Sep 17 00:00:00 2001 From: Prateek Sunal Date: Tue, 13 Feb 2024 19:59:12 +0530 Subject: [PATCH] fix: enable hardened runtime --- macos/Runner.xcodeproj/project.pbxproj | 1 + macos/Runner/Release.entitlements | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/macos/Runner.xcodeproj/project.pbxproj b/macos/Runner.xcodeproj/project.pbxproj index 916c58557..68869b4c1 100644 --- a/macos/Runner.xcodeproj/project.pbxproj +++ b/macos/Runner.xcodeproj/project.pbxproj @@ -578,6 +578,7 @@ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; + ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity"; LD_RUNPATH_SEARCH_PATHS = ( diff --git a/macos/Runner/Release.entitlements b/macos/Runner/Release.entitlements index fae55ba44..e04b5e06c 100644 --- a/macos/Runner/Release.entitlements +++ b/macos/Runner/Release.entitlements @@ -4,11 +4,11 @@ com.apple.security.app-sandbox - com.apple.security.network.client - - keychain-access-groups - com.apple.security.files.downloads.read-write + com.apple.security.network.client + + keychain-access-groups +