# Problem with Plugin Host example in recent dev environments

**URL:** <https://forum.juce.com/t/problem-with-plugin-host-example-in-recent-dev-environments/43023>\
**Category:** General JUCE discussion\
**Created:** [December 1, 2020, 4:38pm UTC](https://forum.juce.com/t/problem-with-plugin-host-example-in-recent-dev-environments/43023 "2020-12-01T16:38:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacquesmignault](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jacquesmignault/32/7639_2.png) [@jacquesmignault](https://forum.juce.com/u/jacquesmignault)\
**Post date:** [December 1, 2020, 4:38pm UTC](https://forum.juce.com/t/problem-with-plugin-host-example-in-recent-dev-environments/43023/1 "2020-12-01T16:38:10Z")

</div>

Hi,

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,  
Jacques

---

<div class="post-metadata">

**Author:** ![jimc](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jimc/32/16067_2.png) [@jimc](https://forum.juce.com/u/jimc)\
**Post date:** [December 1, 2020, 7:05pm UTC](https://forum.juce.com/t/problem-with-plugin-host-example-in-recent-dev-environments/43023/2 "2020-12-01T19:05:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jacquesmignault](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jacquesmignault/32/7639_2.png) [@jacquesmignault](https://forum.juce.com/u/jacquesmignault)\
**Post date:** [December 1, 2020, 7:55pm UTC](https://forum.juce.com/t/problem-with-plugin-host-example-in-recent-dev-environments/43023/3 "2020-12-01T19:55:00Z")

</div>

Yes Exactly 🙂

---

<div class="post-metadata">

**Author:** ![jacquesmignault](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jacquesmignault/32/7639_2.png) [@jacquesmignault](https://forum.juce.com/u/jacquesmignault)\
**Post date:** [December 1, 2020, 9:19pm UTC](https://forum.juce.com/t/problem-with-plugin-host-example-in-recent-dev-environments/43023/4 "2020-12-01T21:19:23Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [December 1, 2020, 10:53pm UTC](https://forum.juce.com/t/problem-with-plugin-host-example-in-recent-dev-environments/43023/5 "2020-12-01T22:53:46Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![jacquesmignault](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jacquesmignault/32/7639_2.png) [@jacquesmignault](https://forum.juce.com/u/jacquesmignault)\
**Post date:** [December 2, 2020, 12:44am UTC](https://forum.juce.com/t/problem-with-plugin-host-example-in-recent-dev-environments/43023/6 "2020-12-02T00:44:06Z")

</div>

Hi,  
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 );**

---

<div class="post-metadata">

**Author:** ![jacquesmignault](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jacquesmignault/32/7639_2.png) [@jacquesmignault](https://forum.juce.com/u/jacquesmignault)\
**Post date:** [December 2, 2020, 9:11pm UTC](https://forum.juce.com/t/problem-with-plugin-host-example-in-recent-dev-environments/43023/7 "2020-12-02T21:11:17Z")

</div>

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