forked from qt-creator/qt-creator
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:
11
dist/installer/mac/qtcreator_process_stub.entitlements
vendored
Normal file
11
dist/installer/mac/qtcreator_process_stub.entitlements
vendored
Normal 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>
|
Reference in New Issue
Block a user