[PD-dev] Externals in Pd.52.2(Rosetta Mode) on Mac M1!

IOhannes m zmoelnig zmoelnig at iem.at
Wed Apr 27 08:42:18 CEST 2022


On 4/27/22 08:27, IOhannes m zmoelnig wrote:
> On 4/27/22 08:25, IOhannes m zmoelnig wrote:
>> something like this should do the trick (in the terminal):
>> ```
>> cd /Applications/Pd-0.52.2.app/Content/Resources/bin/
>> mv pd pd.fat
>> lipo pd.fat -thin x86_64 -output pd
>> ```
> 
> 
> i forgot: this will most likely invalidate any signature of the pd binary.
> you'll probably have to add an override (or re-sign yourself) in order 
> to launch the resulting Pd...
> 

so here's a better solution (also untested).
instead if *everything* i wrote above do this:

1. find the file Pd.app/Content/Resources/tcl/pd-gui.tcl
2. open it in an editor
3. locate the line (somewhere around line:846) that says:
    "[exec -- $pd_exec -guiport $::port {*}$::pd_startup_args &]"
4. in this line put an "arch -x86_64" before the $pd_exec, so it now reads:
    "[exec -- arch -x86_64 $pd_exec -guiport $::port 
{*}$::pd_startup_args &]"

this will (well: should) force the Pd-core to run as x86_64.

it would be great if you could report back any success (or failure)...

gfmadsr
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20220427/3ec9c587/attachment-0001.sig>


More information about the Pd-dev mailing list