From 3821b78b808a35da2d37625bfde6be2e76478e08 Mon Sep 17 00:00:00 2001
From: kkostiuk <kateryna.kostiuk@savoirfairelinux.com>
Date: Thu, 3 Feb 2022 17:20:42 -0500
Subject: [PATCH] macOS: allow unsigned executable memory

With hardened runtime app crashes in sws_scale when converting pixel
formats. Unsigned executable memory entitlement fix the crash.

Change-Id: Ia6e8cd0b1ff9537343991f730d0ed63384d17c2d
---
 resources/entitlements/Jami.entitlements | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/resources/entitlements/Jami.entitlements b/resources/entitlements/Jami.entitlements
index 80ca05b1f..5c566afa1 100644
--- a/resources/entitlements/Jami.entitlements
+++ b/resources/entitlements/Jami.entitlements
@@ -10,5 +10,7 @@
 	<true/>
 	<key>com.apple.security.cs.allow-jit</key>
 	<true/>
+	<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
+	<true/>
 </dict>
 </plist>
-- 
GitLab