macOS: Allow apps be debugged via process stub

This fixes debugging with "Run in Terminal".
We usually do not use the disclaim tool when debugging,
because LLDB does that itself, but it looks like not having
get-task-allow prevents that in the first place.

Add that and disable-library-validation (which is needed for
get-task-allow when notarizing) to our process stub.

Fixes: QTCREATORBUG-29497
Change-Id: I86c184b2b108b62822bf89d80ea2b4ca9190f5b8
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
Eike Ziller
2023-08-24 10:28:52 +02:00
parent 170f9acfb4
commit 549e17ee84

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- Allow debugging with terminal -->
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.get-task-allow</key>
<true/>
</dict>
</plist>