Debugging AudioUnit in GarageBand with Catalina / Debug Entitlements

I wonder if anyone been able to attach a debugger to GarageBand.

My machine is with Catalina 10.15.7 and Xcode 11.6.

Unlike Logic, it’s sandboxed and re-signing it seems to be no dice.

1 Like

Hi ttg,
Did you find a solution for this?
I also cannot attach XCode debugger to GarageBand. (Logic is fine though).
When I try, the Console.app gives me the following error message:

“macOSTaskPolicy: (com.apple.debugserver) may not get the taskport of (GarageBand) (pid: 1991): (GarageBand) is hardened, (GarageBand) doesn’t have get-task-allow, (com.apple.debugserver) is a declared debugger”

Sadly. No.
Didn’t have time to further investigate.
If you must debug GarageBand you can temporarily disable SIP

Is this still the only way to debug an AU in GarageBand?

[edit] I was able to get around this by using some using message window. But not being able to debug directly is a real pain.