AU plugin does not work (though VST does)


#1

Hi,

I wrote software controllers for the Shruthi and Ambika Synths.
The standalone and VST version work great on both windows and macOS.
I cannot get the AU working on macOS.
Is there anything i could check, any regular mistakes people do ?
The component is created. But one of my editor show up in the list of AU plugins, but does not load the other one does not show up at all in Studio One and Maschine.
The one that shows up fails the auval validation with :
FATAL ERROR: OpenAComponent: result: -1,0xFFFFFFFF

I’m using Juce 5.1.2 and i’m compiling on macOS 10.13.1 with xcode 9.1.

Anything i can investigate or try ?

My project is here :

AppConfig.h is here

Thanks for all help,

Xavier


#2

You should run your code through auvtool and see what errors are being listed - Logic will show you the output window if you manually scan the device in device manager (not sure about the others) - or you can launch auvtool as a debugging target in XCode and see what errors are being listed there.


#3

Awesome, thanks Leehu.
I don’t use xcode/macos a lot and didn’t think about launching auvtool as a debugging target in xcode.
For the record, seems like i get a setStateInformation during the AU loading phase that i don’t have in other versions. This is where it fails.
Thanks again :slight_smile: