jpcima / ADLplug

FM Chip Synthesizer — OPL & OPN — VST/LV2/Standalone
Boost Software License 1.0
425 stars 22 forks source link

Audio Unit fails validation for Logic Pro #90

Open Ratintosh opened 1 year ago

Ratintosh commented 1 year ago

Hi, I'm trying to use this plugin with Logic Pro (particularly OPNplug v1.0.2) however it doesn't seem to want to validate. There might be a workaround to bypass the validation but I don't know of any. I tried the latest dev build to see if that fixes anything, however that one doesn't even show up in the plugins manager.

atsushieno commented 1 year ago

I came across the same problem while attempting to build ADLplug with the latest JUCE (7.0.5) and noticed why this happens:

https://github.com/juce-framework/JUCE/blob/69795dc8e589a9eb5df251b6dd994859bf7b3fab/modules/juce_audio_processors/processors/juce_AudioProcessor.cpp#L439

    /*  If you're building this plugin as an AudioUnit, and you intend to use the plugin in
        Logic Pro or GarageBand, it's a good idea to set version hints on all of your parameters
        so that you can add parameters safely in future versions of the plugin.
        See the documentation for AudioProcessorParameter(int) for more information.
    */
   #if JucePlugin_Build_AU
    jassert (wrapperType == wrapperType_Undefined || param->getVersionHint() != 0);
   #endif

With parameters from ADLplug, getVersionHint() returns 0. This seems to explain why you're hitting the problem.

njvack commented 1 month ago

If you remove the com.apple.quarantine attribute on your plugin, I suspect it'll work for you. Worked for me in Garageband.

See: https://apple.stackexchange.com/questions/366542/install-spotify-cant-be-opened-because-apple-cannot-check-it-for-malicious-so