Building SuperCollider (and plugins) on Mac M1

Alright, got it built now.

I’m trying to run this:

In some cases I’m getting errors like:

ERROR: couldn't load '/Library/Audio/Plug-Ins/VST3/Vital.vst3': Can't bridge CPU architecture amd64
ERROR: couldn't open 'Vital.vst3'

And when I check the VST:

file Vital.vst3/Contents/MacOS/Vital
Vital.vst3/Contents/MacOS/Vital: Mach-O 64-bit bundle x86_64

Sure enough it’s Intel. But that means the “bridge” isn’t working, right?

Then let’s try with another VST:

file SubLab.vst3/Contents/MacOS/SubLab
SubLab.vst3/Contents/MacOS/SubLab: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [arm64]
SubLab.vst3/Contents/MacOS/SubLab (for architecture x86_64):	Mach-O 64-bit bundle x86_64
SubLab.vst3/Contents/MacOS/SubLab (for architecture arm64):	Mach-O 64-bit bundle arm64

Different error:

probing /Library/Audio/Plug-Ins/VST3/SubLab.vst3... error! subprocess was terminated with signal 6 (Abort trap: 6)
ERROR: couldn't open 'SubLab.vst3'

Any thoughts on these issues?

Edit: and yes I did go through the macOS 10.15+ gatekeeper workarounds