Hi, just setup a new M1 machine and have a couple of problems:
AU plugins are only being recognised from the main Library folder in Logic and in AudioPluginHost. Anything in ~/Library is not being picked up - don’t remember this being a setting anywhere, but maybe it is? FYI, if I manually copy the JUCE generated plugin in ~/Library to /Library it is picked up fine.
Live will only show release build plugins and not debug build plugins - I know Live isn’t officially supported on Big Sur yet, but this seems a strange thing to happen - wonder if anyone has any thoughts?
The plugins not showing up in Live are VST, VST3 - they only show up in release build, not debug build. I presume the AudioComponentRegistrar only affects AU so might be the Logic issue, but won’t be the Live issue.
Also check the “macOS Architecture” of your Debug configuration. Just a guess, but maybe Live is x86_64 and your plugin is only build for arm because that’s the active architecture. It of course makes sense to not build the universal binary for all the architectures during development - but my uneducated guess is, that rosetta 2 only translates x86 to arm - not the other way around.
If you want to check which architectures are inside a binary, you can run the “file” command on the binary inside the bundle:
Spent alot of time on this to no avail unfortunately.
Can’t put a debugger on anything running in Logic on the M1 - createPluginFilter() never gets called before the unstable dialog is presented. Makes me think it’s not actually related to anything I’m doing and something else.
so I’m guessing this new dialog might be due to some problem in this hosting process… and why it’s not got any info on the net
I know that I got rid of 1 error by changing a timeout on a wait event from 1000ms to 50ms
I wonder if there’s any way to force the plugins to load in-process?
I figured out how to re-code sign AUHostingServiceXPC*, which reside on the read only system partition. I think this was necessary, but it might have just been turning off SIP that solved it. Now I can attach to AUHostingServiceXPC_arrow and hit breakpoints. DM me for info if you want to do that. I am on a DTK, so I am not too worried about bricking my system.