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, [email protected] wrote:
> 
> Message: 2
> Date: Tue, 28 Feb 2023 22:25:40 +0000
> From: Pierre Alexandre Tremblay <[email protected] 
> <mailto:[email protected]>>
> Cc: Pd-List <[email protected] <mailto:[email protected]>>
> Subject: Re: [PD] Attaching Xcode debugger
> Message-ID: <[email protected] 
> <mailto:[email protected]>>
> 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/>



_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to