From 7678e73398473268d27fcf06bce27ac40a427fea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 20 May 2021 16:09:06 +0200 Subject: [PATCH] Dist: Add macOS entitlements files for editor code signing These are the entitlements we define for official macOS editor builds since Godot 3.3. Users making custom builds of the engine can use those files with `codesign` to sign their own builds. E.g.: ``` codesign --force --timestamp \ --options=runtime --entitlements editor.entitlements \ -s -v osx_template.app ``` (cherry picked from commit 6999e332e4d77db2cf99648e5a83798b583367ce) --- misc/dist/osx/editor.entitlements | 12 ++++++++++++ misc/dist/osx/editor_mono.entitlements | 18 ++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 misc/dist/osx/editor.entitlements create mode 100644 misc/dist/osx/editor_mono.entitlements diff --git a/misc/dist/osx/editor.entitlements b/misc/dist/osx/editor.entitlements new file mode 100644 index 0000000000..5496f65dcc --- /dev/null +++ b/misc/dist/osx/editor.entitlements @@ -0,0 +1,12 @@ + + + + + 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 new file mode 100644 index 0000000000..c61c287652 --- /dev/null +++ b/misc/dist/osx/editor_mono.entitlements @@ -0,0 +1,18 @@ + + + + + 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 + + +