aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/common.py
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2020-02-18 15:36:11 +0100
committerEike Ziller <[email protected]>2020-02-19 12:53:02 +0000
commitc34864ccab116571409b772cd9a109b87331348d (patch)
tree97b850f55ffc86b986b0596fc5742fdb68e6ff0e /scripts/common.py
parente22eea1cf3c9f884d872d4f4c32cd5f320a27786 (diff)
macOS: Disable library validation when signing
So we can load 3rdparty plugins even when the app is signed and notarized. Also give Qt Creator "debugging" capabilities, allowing it to attach to processes. Change-Id: Ia6bb8ab279920b75a96777eafebbb4e7454fda46 Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'scripts/common.py')
-rw-r--r--scripts/common.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/common.py b/scripts/common.py
index db97ea35616..e1746f4700e 100644
--- a/scripts/common.py
+++ b/scripts/common.py
@@ -211,5 +211,7 @@ def codesign(app_path):
lambda ff: ff.endswith('.dylib'))
codesign = codesign_call()
if is_mac_platform() and codesign:
+ entitlements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', 'dist',
+ 'installer', 'mac', 'entitlements.plist')
# sign the whole bundle
- subprocess.check_call(codesign + ['--deep', app_path])
+ subprocess.check_call(codesign + ['--deep', app_path, '--entitlements', entitlements_path])