From bf8a8e8f9c739a0d3cb5df5227b79d3f5a6db4e8 Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Tue, 18 Aug 2020 09:25:30 -0700 Subject: [PATCH] Add `get-task-allow` entitlement to allow debuggers to attach to codesigned Julia (#37069) Without this entitlement, users that wish to attach a debugger to the codesign Julia executable they receive from `julialang.org` must strip the codesigning signature from the Julia executable (e.g. via `codesign --remove-signature Julia-1.5.app/Contents/Resources/bin/julia`). This has its disadvantages, of course, so much better to simply declare to the OS that it's alright for other processes to attach to this process. --- contrib/mac/app/Entitlements.plist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/mac/app/Entitlements.plist b/contrib/mac/app/Entitlements.plist index 2e0912b4c0bf4..b84dccb00f95c 100644 --- a/contrib/mac/app/Entitlements.plist +++ b/contrib/mac/app/Entitlements.plist @@ -4,6 +4,8 @@ com.apple.security.automation.apple-events + com.apple.security.cs.get-task-allow + com.apple.security.cs.allow-dyld-environment-variables com.apple.security.cs.allow-jit