[SOLVED] Finding out if your macOS Universal Binary plugin is running the Intel or ARM "binary slice"?

For easier support purposes, I display the version number and plugin type in the GUI of my plugin, and would like to add an indication about whether it’s running the Intel or ARM “binary slice” when I build it as a Universal Binary.
What would be the best way to do this? (it doesn’t need to be at run-time: if it gets baked into the compiled “binary slice” that’s fine too, if that’s easier to do).

#ifdef JUCE_ARM or #ifdef JUCE_INTEL

1 Like