JUCE modules with precompiled Mac OS universal binary libraries – folder naming convention?

The JUCE module structure expects precompiled MacOS libraries to be located in a folder like module_base_folder/libs/macOSX/{arch}/libfoo.a where according to the docs

{arch} is the architecture you are targeting in Xcode (“x86_64” or “i386”, for example)

Now what’s the correct arch folder name if I want to put a universal binary library containing arm64 and x86_64 slices created with the lipo tool into a module so that the Projucer recognises it correctly? While our new plugin projects are now CMake based where doing this manually is no big deal, I need to keep backwards compatibility with Projucer based projects using the same modules.

1 Like