From ad5ad561fa5bf2d94e09129444a590d0ec76408f Mon Sep 17 00:00:00 2001 From: Alexandre Colucci Date: Sat, 30 Sep 2023 10:25:44 +0200 Subject: [PATCH] Enable hardened runtime --- VPN.xcodeproj/project.pbxproj | 4 ++++ VPNStatus/VPNStatus.entitlements | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/VPN.xcodeproj/project.pbxproj b/VPN.xcodeproj/project.pbxproj index 94387f8..258b712 100644 --- a/VPN.xcodeproj/project.pbxproj +++ b/VPN.xcodeproj/project.pbxproj @@ -503,12 +503,14 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = VPNStatus/VPNStatus.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 200; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = QFL3YR6JR6; + ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = VPNStatus/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -527,12 +529,14 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = VPNStatus/VPNStatus.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 200; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = QFL3YR6JR6; + ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = VPNStatus/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", diff --git a/VPNStatus/VPNStatus.entitlements b/VPNStatus/VPNStatus.entitlements index 0c67376..b8cf6f9 100644 --- a/VPNStatus/VPNStatus.entitlements +++ b/VPNStatus/VPNStatus.entitlements @@ -1,5 +1,8 @@ - + + com.apple.security.personal-information.location + +