From 8c5c66c41c743aa9163b38b0fa2ffa8f955f6b65 Mon Sep 17 00:00:00 2001 From: Balazs Perlaki-Horvath Date: Sat, 23 Mar 2024 23:08:02 +0100 Subject: [PATCH 1/3] Remove download and network capabilities from custom apps --- project.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/project.yml b/project.yml index 89281f3e..29dc83a8 100644 --- a/project.yml +++ b/project.yml @@ -65,9 +65,7 @@ targetTemplates: path: Support/Kiwix.entitlements properties: com.apple.security.app-sandbox: true - com.apple.security.files.downloads.read-write: true com.apple.security.files.user-selected.read-only: true - com.apple.security.network.client: true dependencies: - framework: CoreKiwix.xcframework embed: false @@ -92,6 +90,12 @@ targets: Kiwix: templates: - ApplicationTemplate + entitlements: + properties: + com.apple.security.files.downloads.read-write: true + com.apple.security.app-sandbox: true + com.apple.security.files.user-selected.read-only: true + com.apple.security.network.client: true settings: base: MARKETING_VERSION: "3.3.0" From 49d8af7737528c080f638d43f9abbd2b6e98daf2 Mon Sep 17 00:00:00 2001 From: Balazs Perlaki-Horvath Date: Sun, 24 Mar 2024 21:58:53 +0100 Subject: [PATCH 2/3] Remove download capability from custom apps --- project.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/project.yml b/project.yml index 89281f3e..ee578fb9 100644 --- a/project.yml +++ b/project.yml @@ -65,7 +65,6 @@ targetTemplates: path: Support/Kiwix.entitlements properties: com.apple.security.app-sandbox: true - com.apple.security.files.downloads.read-write: true com.apple.security.files.user-selected.read-only: true com.apple.security.network.client: true dependencies: @@ -92,6 +91,9 @@ targets: Kiwix: templates: - ApplicationTemplate + entitlements: + properties: + com.apple.security.files.downloads.read-write: true settings: base: MARKETING_VERSION: "3.3.0" From 42a75e200d435f5848f1cccacad5da7c167441d5 Mon Sep 17 00:00:00 2001 From: Balazs Perlaki-Horvath Date: Sun, 24 Mar 2024 22:01:08 +0100 Subject: [PATCH 3/3] Update project file and change only download permissions --- project.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/project.yml b/project.yml index e8b9781f..ee578fb9 100644 --- a/project.yml +++ b/project.yml @@ -66,6 +66,7 @@ targetTemplates: properties: com.apple.security.app-sandbox: true com.apple.security.files.user-selected.read-only: true + com.apple.security.network.client: true dependencies: - framework: CoreKiwix.xcframework embed: false