From ea844046c3b9970e18ae2e4c15172f9e8482e4d1 Mon Sep 17 00:00:00 2001
From: bruvzg <7645683+bruvzg@users.noreply.github.com>
Date: Thu, 21 Oct 2021 14:41:24 +0300
Subject: [PATCH] [macOS] Add entitlements required by OIDN JIT for the editor
build.
(cherry picked from commit 53cb5568417f429c2e09cc3153a39241891ac28a)
---
misc/dist/osx/editor.entitlements | 12 ++++++++++--
misc/dist/osx/editor_mono.entitlements | 18 ------------------
2 files changed, 10 insertions(+), 20 deletions(-)
delete mode 100644 misc/dist/osx/editor_mono.entitlements
diff --git a/misc/dist/osx/editor.entitlements b/misc/dist/osx/editor.entitlements
index 5496f65dcc3..d0137910a3a 100644
--- a/misc/dist/osx/editor.entitlements
+++ b/misc/dist/osx/editor.entitlements
@@ -2,11 +2,19 @@
+ com.apple.security.cs.allow-dyld-environment-variables
+
+ com.apple.security.cs.allow-jit
+
+ com.apple.security.cs.allow-unsigned-executable-memory
+
+ com.apple.security.cs.disable-executable-page-protection
+
+ com.apple.security.cs.disable-library-validation
+
com.apple.security.device.audio-input
com.apple.security.device.camera
- com.apple.security.cs.disable-library-validation
-
diff --git a/misc/dist/osx/editor_mono.entitlements b/misc/dist/osx/editor_mono.entitlements
deleted file mode 100644
index c61c287652f..00000000000
--- a/misc/dist/osx/editor_mono.entitlements
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
- com.apple.security.cs.allow-dyld-environment-variables
-
- com.apple.security.cs.allow-jit
-
- com.apple.security.cs.allow-unsigned-executable-memory
-
- com.apple.security.cs.disable-library-validation
-
- com.apple.security.device.audio-input
-
- com.apple.security.device.camera
-
-
-