January 27, 2023, 6:49am
trying to debug (attach me IDE to) a plugin in ableton on mac OS and I get this error:
attach failed (Not allowed to attach to process. Look in the console messages (Console.app), near the debugserver entries, when the attach failed. The subsystem that denied the attach permission will likely have logged an informative message about why it was denied.)
anyone had this before?
codesign --display --xml --entitlements daw.entitlements /Applications/Ableton\ Live\ 11\ Trial.app
codesign -s - --deep --force --options=runtime --entitlements daw.entitlements /Applications/Ableton\ Live\ 11\ Trial.app`
(I edited the xml according to some post i found
when I ran it, I got:
/Applications/Ableton Live 11 Trial.app: replacing existing signature
/Applications/Ableton Live 11 Trial.app: resource fork, Finder information, or similar detritus not allowed
not sure if thats expected
January 27, 2023, 8:37am
I was trying to attach to the “Ableton index” executable, rather than “Live”
i have the same issue but i dont understand what you mean with your answer.
Could you tell me how to fix that issue?
Had this problem in the past. I think disabling SIP on your machine fixed the issue for me:
Disabling and Enabling System Integrity Protection | Apple Developer Documentation
Hope this helps.
May 24, 2023, 8:20am
Unlike latest macOS with AUHosting where you must disable SIP…
Thank god, some hosts still allows you to resign them without compromising your device…
This file has been truncated.
# Simple Utility Script for allowing debug of hardened macOS apps.
# This is useful mostly for plug-in developer that would like keep developing without turning SIP off.
# Credit for idea goes to (McMartin): https://forum.juce.com/t/apple-gatekeeper-notarised-distributables/29952/57?u=ttg
# Update 2022-03-10: Based on Fabian's feedback, add capability to inject DYLD for sanitizers.
# Please note:
# - Modern Logic (on M1s) uses `AUHostingService` which resides within the system thus not patchable and REQUIRES to turn-off SIP.
# - Some hosts uses separate plug-in scanning or sandboxing.
# if that's the case, it's required to patch those (if needed) and attach debugger to them instead.