Universal Binary on M1 Mac
-
@harris-rosendahl that's what I have too do. I build the plugin in HISE first until it gives me an error. Then open the auto-generated JUCER file and select the correct architecture, save and open in IDE.
From there, xcode should be able to handle the rest.
EDIT: I'm on an old Mac Mini with either Catalina or Big Sur, I can't remember now. I only use it to export for Apple.
-
@trillbilly I think that's a different issue. OP didn't mention an error. Also OP's issue is specific to M1 system, I assume you're on an Intel system?
-
@d-healey I am. I guess it sounded like a familiar story lol.
-
@trillbilly Make a new thread about your issues if you want help solving them because they sound fixable.
-
@d-healey I may. It works for me for the time being. Ive got other things Id rather fix and work on in the meantime. I was just trying to give a bit of help if I could but apparently Im still a bit of a newb.
-
@trillbilly Do you directly export the plugins from Hise as universal binaries (M1 & Intel)?
-
@harris-rosendahl I just Export the plugin from HISE as you typically would. When I do this, it throws me an error part of the way through about the architecture being incorrect.
This is when I open the Auto-generated files and make all necessary changes, save and open in IDE. Xcode then finishes the job with no issues.
Do you get any errors when exporting directly from HISE?
-
@trillbilly No I don't get an error. I export the plugins successfully with Hise on M1 Mac / Monterey / Xcode 13.1.
But when I check the auto generated Projucer file, I see that the selected architecture is only x86_64. This makes me doubt if the binary is not natively M1...
-
@harris-rosendahl said in Universal Binary on M1 Mac:
This makes me doubt if the binary is not natively M1...
Here is the Plugin Scanner tool that allows you to identify if your plugin is running natively on Apple Silicon Mac or not.
-
@orange Oh that's great thank you! This app shows a list of only non-M1 compatible plugins, and my plugin is not listed here.
So, if I understand correctly, on a M1 computer, directly Hise exported plugins are universal binaries for both Intel and M1.