Problem with Plugin Host example in recent dev environments


I can’t seem to get the plugin host example going.
The 4 default (internal) plugins are not created when the app starts.
Other plugins cannot be created (or dragged on iOS).
I’m using XCode 12.3, on Big Sur, with iOS 14.2 at the tip of today’s technology, which I usually call “the bleeding edge”.

I was wondering if the developers at JUCE have had a chance to try this ?

Thank you,

1 Like

Jacques - and to be super clear, it doesn’t work as a MacOS app nor as an IOS app in your configuration?

Yes Exactly :slight_smile:

I can also confirm I get the same error when using XCode 11.7 on Big Sur. (running on Mac OS or iOS)

Also the VST3 loading in my own app works fine, under the same environment. The problem seems to be exclusively for Audio Units (and AUv3 on iOS).

I’m not able to reproduce this behaviour, on Big Sur 11.0.1, iOS 14.2, and Xcode 12.3 beta. On all platforms the audio/midi ins/outs show up, and I’m able to load AU plugins.

When you start the AudioPluginHost you must give it permission to access the microphone in order for it to function correctly. Are you definitely allowing microphone access on startup?

Thanks for answering so quickly.
Yes I authorize the Microphone access when the app starts.

I get the following in the debug area, which looks suspect to me:

JUCE v6.0.4

2020-12-01 19:39:41.496861-0500 AudioPluginHost[25369:928489] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x6000039347e0> F8BB1C28-BAE8-11D6-9C31-00039315CD46

Does that mean something to you ?

This happens right in line 2000 of juce_mac_CoreAudio.cpp:
AudioObjectAddPropertyListener (kAudioObjectSystemObject, &pa, hardwareListenerProc, this );

You’ll be glad to know that I installed JUCE 6.0.5 and everything works fine now.
Cheers !!!