Ok I got it to work - there was on colon missing in the article, so here are my steps to make the downloaded Pd linkable to the debugger:
codesign -d /Applications/Pd-0.53-0.app/Contents/Resources/bin/pd --entitlements :/tmp/pd-entitlement.xml
<key>com.apple.security.get-task-allow</key> <true/>
codesign -s - --deep --force --options=runtime --entitlements /tmp/pd-entitlement.xml /Applications/Pd-0.53-0.app/Contents/Resources/bin/pd
Voilà! Link pd (not Pd) to your debugger and you’re as happy as me!
On 28 Feb 2023, at 21:21, Dan Wilcox danomatika@gmail.com wrote:
Actually I was wrong in my last email referring to Brad's suggestion... disabling the quarantine for an unsigned dynamic lib may be required on a user system and this is one way to remove the quarantine flag, for sure. I was thinking of a full .app bundle.
if you build the dynamic lib, it should generally load without triggering Gatekeeper. Gatekeeper comes into play once you distribute the app or lib. For Pd, we added the dynamic lib entitlement to allow loading unsigned libs on 10.15+.
Anyway, I think I'm adding too much noise now, sorry.
On Feb 28, 2023, at 7:29 PM, Brad Garton <garton@columbia.edu mailto:garton@columbia.edu> wrote:
Here's my little cheat-sheet for setting the Gatekeeper entitlements (for RTcmix, of course :-) -- but make the appropriate substitutions in the directions):
http://sites.music.columbia.edu/brad/osx-windows-new-RTcmixes/annoying.html http://sites.music.columbia.edu/brad/osx-windows-new-RTcmixes/annoying.html
It still works on my Monterey Macs -- I hope Apple doesn't get annoying yet again.
brad
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/