After signing and notarizing our application, the entitlement “com.apple.security.get-task-allow” is removed. However, we want this entitlement to remain and we want to be able to create a corefile when needed.
Is it possible to make the “com.apple.security.get-task-allow” entitlement persistent after signing and notarizing, so that our application can create a corefile?
Is it possible to make the com.apple.security.get-task-allow entitlement persistent … ?
Yes. See the note at the bottom of the Avoid the get-task-allow entitlement section within Resolving common notarization issues.
IMPORTANT This disables important security protections in your product. It’s not something you want to do lightly. It might make sense to create a special version of your product that you only give to folks who need to create core dumps.
Also, disabling library validation makes it harder to pass Gatekeeper. See Resolving Gatekeeper Problems Caused by Dangling Load Command Paths.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"