From 549e17ee84daf7f30ac39a7f0c82db6df4594f7d Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Thu, 24 Aug 2023 10:28:52 +0200 Subject: [PATCH] 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: Reviewed-by: Marcus Tillmanns --- .../installer/mac/qtcreator_process_stub.entitlements | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 dist/installer/mac/qtcreator_process_stub.entitlements diff --git a/dist/installer/mac/qtcreator_process_stub.entitlements b/dist/installer/mac/qtcreator_process_stub.entitlements new file mode 100644 index 00000000000..063fa588cf6 --- /dev/null +++ b/dist/installer/mac/qtcreator_process_stub.entitlements @@ -0,0 +1,11 @@ + + + + + + com.apple.security.cs.disable-library-validation + + com.apple.security.get-task-allow + + +