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/68dd3428d5f37fed32b94451fbeea4996b2ddb64
 
<https://github.com/pure-data/pure-data/commit/68dd3428d5f37fed32b94451fbeea4996b2ddb64>

> On Mar 1, 2023, at 12:00 PM, pd-list-requ...@lists.iem.at wrote:
> 
> Message: 2
> Date: Tue, 28 Feb 2023 22:25:40 +0000
> From: Pierre Alexandre Tremblay <tremb...@gmail.com 
> <mailto:tremb...@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-2e889fc05...@gmail.com 
> <mailto:82f63261-f4c1-4f86-afbb-2e889fc05...@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:
> 
> 1) 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
> 
> 2) 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/>
> 
> 3) 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/>



_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to