Thanks for confirmation that this does indeed work. I took the liberty to add this info to mac/README.txt when the question comes up in the future:
https://github.com/pure-data/pure-data/commit/68dd3428d5f37fed32b94451fbeea4... https://github.com/pure-data/pure-data/commit/68dd3428d5f37fed32b94451fbeea4996b2ddb64
On Mar 1, 2023, at 12:00 PM, pd-list-request@lists.iem.at wrote:
Message: 2 Date: Tue, 28 Feb 2023 22:25:40 +0000 From: Pierre Alexandre Tremblay <tremblap@gmail.com mailto:tremblap@gmail.com> Cc: Pd-List <pd-list@lists.iem.at mailto:pd-list@lists.iem.at> Subject: Re: [PD] Attaching Xcode debugger Message-ID: <82F63261-F4C1-4F86-AFBB-2E889FC059C5@gmail.com mailto:82F63261-F4C1-4F86-AFBB-2E889FC059C5@gmail.com> Content-Type: text/plain; charset="utf-8"
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:
- extract the current pd executable entitlements (don?t forget the colon before the path as this is an option to remove the blob)
codesign -d /Applications/Pd-0.53-0.app/Contents/Resources/bin/pd --entitlements :/tmp/pd-entitlement.xml
- open /tmp/pd-entitlement.xml should start it in Xcode. Add this key to it and save
<key>com.apple.security.get-task-allow</key> <true/>
- replace the entitlement back with this code:
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!
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/