# Newly created Plugin won't load in Logic

**URL:** <https://forum.juce.com/t/newly-created-plugin-wont-load-in-logic/16262>\
**Category:** Audio Plugins\
**Created:** [December 23, 2015, 7:14am UTC](https://forum.juce.com/t/newly-created-plugin-wont-load-in-logic/16262 "2015-12-23T07:14:36Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ckk](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@ckk](https://forum.juce.com/u/ckk)\
**Post date:** [December 23, 2015, 7:14am UTC](https://forum.juce.com/t/newly-created-plugin-wont-load-in-logic/16262/1 "2015-12-23T07:14:36Z")

</div>

Using the tip I created an AU plugin where I left everything as default in IntroJucer except disabling VST. The plugin is found in Logic (10.2) but when I try to load it, I get an error message that it couldn’t be loaded and I should contact the developer or support.  
Reaper on the other hand can load the AU.

I’m on OS X 10.10.5 and I built the plugin in XCode 6.3 using the 10.10 SDK.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [December 23, 2015, 8:35am UTC](https://forum.juce.com/t/newly-created-plugin-wont-load-in-logic/16262/2 "2015-12-23T08:35:45Z")

</div>

Have you run auval on it? Might give some more helpful info.

---

<div class="post-metadata">

**Author:** ![ckk](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@ckk](https://forum.juce.com/u/ckk)\
**Post date:** [December 23, 2015, 9:27am UTC](https://forum.juce.com/t/newly-created-plugin-wont-load-in-logic/16262/3 "2015-12-23T09:27:47Z")

</div>

I validated from within logic where it passes. The JuceDemoPlugin works in Logic. When comparing the auval output of both plugin I could find nothing suspicious.

On a closer look I noticed that the channel configuration is “[-1, -2]” instead of “[1, 1] [2, 2]” but this doesn’t seem to make a difference as the plugin also won’t load if I set a deprecated channel configuration accordingly. The configuration given in auval changes in that case, though.

---

<div class="post-metadata">

**Author:** ![djb-2](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@djb-2](https://forum.juce.com/u/djb-2)\
**Post date:** [December 25, 2015, 10:47pm UTC](https://forum.juce.com/t/newly-created-plugin-wont-load-in-logic/16262/4 "2015-12-25T22:47:00Z")

</div>

Same here :-(

What I did:

1) Grab the latest source from github; rebuild introjucer on XCode 7.0

2) Create a new audio plugin - using default settings, nothing changed other than settings paths.

3) Compile on XCode 7.0 / OSX El Capitan 10.11.2

4) AU validation runs without problem

5) Open in Logic Pro 10.2.0 -\> Plugin crashes

Also existing projects now crash Logic Pro (keeping all local and project settings identical, just updating the juce repository makes existing projects that ran fine before now make Logic Pro crash)

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [December 29, 2015, 2:20pm UTC](https://forum.juce.com/t/newly-created-plugin-wont-load-in-logic/16262/5 "2015-12-29T14:20:22Z")

</div>

I've tested exactly that recently on my mac. Maybe I broke something last minute before pushing JUCE 4.1.&nbsp;Have you tried re-scanning the plug-ins in logic (via Logic's Plug-In Manager)? The slight difference in configuration ([-1,-2] vs. [1,1], [2,2]) may require re-scanning.&nbsp;

---

<div class="post-metadata">

**Author:** ![ckk](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@ckk](https://forum.juce.com/u/ckk)\
**Post date:** [December 29, 2015, 2:48pm UTC](https://forum.juce.com/t/newly-created-plugin-wont-load-in-logic/16262/6 "2015-12-29T14:48:44Z")

</div>

The plugin was newly created so there was no previous version with a different channel configuration if that’s what you mean.  
I also rescanned in Logic’s Plug-in Manager several times to check whether it passes auval which it did but Logic still showed the error message when loading the plugin.

---

<div class="post-metadata">

**Author:** ![djb-2](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@djb-2](https://forum.juce.com/u/djb-2)\
**Post date:** [January 3, 2016, 12:36am UTC](https://forum.juce.com/t/newly-created-plugin-wont-load-in-logic/16262/7 "2016-01-03T00:36:25Z")

</div>

Any luck in reproducing this issue? I also tried the same procedure while building for older deployment targets, unfortunately the resulting AU still won't work in Logic Pro X; re-scanning and running AUVAL gives a full 'PASS' on the newly created plugin.

Also XCode complains about a bunch of deprecated functions present in juce\_mac\_CoreAudio.cpp, in particular AudioHardwareServiceHasProperty, AudioHardwareServiceGetProperty, and&nbsp;AudioHardwareIsProperty being deprecated in OS X 10.11 but obviously being used in JUCE. Probably unrelated but wanted to share it anyway.

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![djb-2](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@djb-2](https://forum.juce.com/u/djb-2)\
**Post date:** [January 3, 2016, 4:51am UTC](https://forum.juce.com/t/newly-created-plugin-wont-load-in-logic/16262/8 "2016-01-03T04:51:21Z")

</div>

To complicate things further - If the plugin is allowed to have up to 8 inputs and outputs (in any [nInputs,nOutputs] configuration, it actually does work in Logic Pro X.

Then, if I restrict the allowed channel configuration back to two inputs, two outputs by overriding&nbsp;setPreferredBusArrangement(), it keeps working even with a re-scan!??!

This may explain why, if you have tested this yourself, you do not experience the problem while others do - you may need to create a new project with a unique name / plugin ID in order to be able to reproduce the problem...?

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [January 4, 2016, 11:56am UTC](https://forum.juce.com/t/newly-created-plugin-wont-load-in-logic/16262/9 "2016-01-04T11:56:30Z")

</div>

OK I think this is fixed now on the latest tip. Please remember to re-scan the plug-ins in Logic otherwise Logic will still complain. Please let me know if the fix works for you.

---

<div class="post-metadata">

**Author:** ![djb-2](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@djb-2](https://forum.juce.com/u/djb-2)\
**Post date:** [January 4, 2016, 8:21pm UTC](https://forum.juce.com/t/newly-created-plugin-wont-load-in-logic/16262/10 "2016-01-04T20:21:32Z")

</div>

Seems to work here too, thanks!

---

<div class="post-metadata">

**Author:** ![ckk](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@ckk](https://forum.juce.com/u/ckk)\
**Post date:** [January 5, 2016, 6:45am UTC](https://forum.juce.com/t/newly-created-plugin-wont-load-in-logic/16262/11 "2016-01-05T06:45:47Z")

</div>

Works here, too. Thanks for the fix.
