# Logic Pro - Rescan plugin folder (how to avoid scanning all plugins)

**URL:** <https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536>\
**Category:** General JUCE discussion\
**Created:** [September 20, 2018, 5:23pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536 "2018-09-20T17:23:29Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![pajczur](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pajczur](https://forum.juce.com/u/pajczur)\
**Post date:** [September 20, 2018, 5:23pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/1 "2018-09-20T17:23:29Z")

</div>

Hello,  
I’am experimenting with JUCE plugins setting “Plugin AU Main Type”.  
But I can’t find how and when Apple rescan my /Users/MyNane/Library/Audio/Plug-Ins/Components/ - where xCode places my built plugins.

(please notice it’s my User library, not MacintoshHD)

Now and then in the plugin manager I can’t even see my plugin.  
How to ensure every time I rebuild my plugin in xCode, Logic also rescan my User library audio units folder? And of course I have planty of other plugins on my main MacintoshHD library, so I want to avoid rescaning it everytime, due to lack of time.

---

<div class="post-metadata">

**Author:** ![alassandro](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alassandro/32/4297_2.png) [@alassandro](https://forum.juce.com/u/alassandro)\
**Post date:** [September 20, 2018, 5:37pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/2 "2018-09-20T17:37:02Z")

</div>

Logic X will only scan the system folder `/Library/Audio/Plug-Ins/Components` in my experience. You’ll have to move your plugins into there for Logic to find them

What I do is allow write access for myself to that folder:

(`CMD + I` on the folder in Finder, change your user to “Read & Write”)  
 ![10%20PM](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/0/00eec3480f0d56626a5cbd55302c942e7d23c47d.png)

Then have JUCE output my plugins there directly in my Projucer settings:

 ![31%20PM](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/a/a12c36c6b22676d7718adf1a4fa9a666d718b9dc.png)

The “AU Binary Location” setting will have to be set for both Debug and Release

---

<div class="post-metadata">

**Author:** ![pajczur](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pajczur](https://forum.juce.com/u/pajczur)\
**Post date:** [September 20, 2018, 5:53pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/3 "2018-09-20T17:53:09Z")

</div>

Thanks, But I think it’s not the answer. As I told my plugin sometimes normally works from my User library, but sometimes not. By the way, all developed by myself plugins are in User library audiounits, and they all works fine. The problem is when I experimenting with JUCE plugins setting “Plugin AU Main Type”.

And also asked how to rescan my plugins in Logic pro only my user library.

I know I can remove com.apple.audiounits.cache , but then Logic scan all my about 500 plugins. It’s annoying

---

<div class="post-metadata">

**Author:** ![alassandro](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alassandro/32/4297_2.png) [@alassandro](https://forum.juce.com/u/alassandro)\
**Post date:** [September 20, 2018, 6:00pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/4 "2018-09-20T18:00:37Z")

</div>

Unfortunately as far as I can tell the only thing Logic provides is an option to rescan a selection of AUs that may have failed.

They don’t seem to offer any method to rescan without clearing `com.apple.audiounits.cache`, and they don’t let you specify a specific directory to rescan either.

Also what version of OSX are you on? There is an issue with AudioUnits on OSX High Sierra if you’re running that version:

> [@Issues Loading Audio Units](https://forum.juce.com/t/issues-loading-audio-units/26996):
>
> We’ve been having some issues with loading our Audio Unit plugins on our development machine (iMac running macOS 10.13.3). Our plugins are currently being built as Universal Binary (32/64 bit) Audio Units and targeting OSX 10.6+. The initial builds of the plugin load up and run fine in 64bit Logic X, Reaper, etc… however sometimes I will clean the project or delete the AU and rebuild and it starts having issues being seen by auval. When this happens the AU plugin will only show up as 32bit wh…

I’m on High Sierra and most of the time I have to do that “renaming” trick that’s explained in that thread

---

<div class="post-metadata">

**Author:** ![pajczur](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pajczur](https://forum.juce.com/u/pajczur)\
**Post date:** [September 20, 2018, 6:03pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/5 "2018-09-20T18:03:58Z")

</div>

OK, thanks

---

<div class="post-metadata">

**Author:** ![pajczur](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pajczur](https://forum.juce.com/u/pajczur)\
**Post date:** [September 20, 2018, 8:27pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/6 "2018-09-20T20:27:55Z")

</div>

But now I see: I make my plugin type to be as kAudioUnitType\_Generator. And Logic see it, that’s great. But then I changed my plugin to be kAudioUnitType\_Effect. I removed all builds, and myPlugin.component file, and rebuilt everything.

But Logic still recognize it as a Generator. How to update it without scanning all my 500 plugins?

---

<div class="post-metadata">

**Author:** ![alassandro](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alassandro/32/4297_2.png) [@alassandro](https://forum.juce.com/u/alassandro)\
**Post date:** [September 20, 2018, 8:31pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/7 "2018-09-20T20:31:26Z")

</div>

I believe if you change the type of an AudioUnit, OSX won’t find it unless you clear the AudioUnits cache or put the old plugin (with the original type) back.

We ran into some similar issues when we changed the channel count of an AU plugin of ours, we had to clear the cache for Logic to pick it up.

---

<div class="post-metadata">

**Author:** ![pajczur](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pajczur](https://forum.juce.com/u/pajczur)\
**Post date:** [September 20, 2018, 8:33pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/8 "2018-09-20T20:33:46Z")

</div>

OK, but do I need to clear whole cache (delete file)? Can’t I somehow clear only part that concern to my plugin?

---

<div class="post-metadata">

**Author:** ![pajczur](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pajczur](https://forum.juce.com/u/pajczur)\
**Post date:** [September 20, 2018, 8:35pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/9 "2018-09-20T20:35:00Z")

</div>

I just opened com.apple.audiounits.cache with TextWrangler. There is totally crazy staff. But maybe someone know how to edit it for desired effect?

---

<div class="post-metadata">

**Author:** ![alassandro](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alassandro/32/4297_2.png) [@alassandro](https://forum.juce.com/u/alassandro)\
**Post date:** [September 20, 2018, 8:41pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/10 "2018-09-20T20:41:06Z")

</div>

Yeah I don’t think anyone here is going to have information on that, it would require reverse engineering the file. I checked it out in a hex editor and there’s no immediate, easy way to tell what’s going on in the file.

Sometimes I have luck with removing the plugin, running Logic or [auval](https://www.unix.com/man-page/osx/1/auval/), then building the new version of the plugin. But even then I’ll have to clear out my cache occasionally depending on what I’m working on.

---

<div class="post-metadata">

**Author:** ![pajczur](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pajczur](https://forum.juce.com/u/pajczur)\
**Post date:** [September 20, 2018, 9:11pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/11 "2018-09-20T21:11:26Z")

</div>

Now I start crying.  
I just removed cache, and run Logic, it scanned all plugins (about 15 minutes)  
and my plugin STILL APPEARS AS A GENERATOR  
Please help

---

<div class="post-metadata">

**Author:** ![alassandro](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alassandro/32/4297_2.png) [@alassandro](https://forum.juce.com/u/alassandro)\
**Post date:** [September 20, 2018, 9:17pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/12 "2018-09-20T21:17:44Z")

</div>

Are you sure you don’t have a second copy of the plugin lying around or something? I would make sure you’ve deleted all copies of your plugin, then resave your Projucer project, and rebuild from Xcode.

The easier way for checking your plugin would probably be to use [auval](https://www.unix.com/man-page/osx/1/auval/) instead of running Logic every time. From the command line:

`auval -a`

…will show you all of the AudioUnits that OSX can find on your system, including their types. I believe the generator type is “augn”, so that would be the first word on a line for a generator.

If you’re plugin is a general “effect” then auval would print “aufx” as the type on the line where the plugin would shows up (if it scans).

---

<div class="post-metadata">

**Author:** ![pajczur](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pajczur](https://forum.juce.com/u/pajczur)\
**Post date:** [September 20, 2018, 9:26pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/13 "2018-09-20T21:26:16Z")

</div>

Oh man still crying 🙂  
after I run `auval -a` it returns me all plugins, and there isn’t even one of my plugin. I coded with JUCE about 10 plugins, and almost all of them normally work in Logic. But they are not listed after `auval -a`. I copied all return of `auval -a` and pasted it to TextWrangler, and searched keywords. Nothing found.

---

<div class="post-metadata">

**Author:** ![alassandro](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alassandro/32/4297_2.png) [@alassandro](https://forum.juce.com/u/alassandro)\
**Post date:** [September 20, 2018, 9:28pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/14 "2018-09-20T21:28:04Z")

</div>

What operating system are you on? I mentioned above there’s an issue when adding new AudioUnits on OSX High Sierra

---

<div class="post-metadata">

**Author:** ![pajczur](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pajczur](https://forum.juce.com/u/pajczur)\
**Post date:** [September 20, 2018, 9:30pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/15 "2018-09-20T21:30:01Z")

</div>

OK, so it clear now (sorry I forgot what you mentioned about that)  
I run High Sierra. So there is no solution for me? Do I need to create whole new project in Projucer, with new name of my plugin?

---

<div class="post-metadata">

**Author:** ![alassandro](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alassandro/32/4297_2.png) [@alassandro](https://forum.juce.com/u/alassandro)\
**Post date:** [September 20, 2018, 9:32pm UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/16 "2018-09-20T21:32:11Z")

</div>

No, read the thread I posted.

The solution is to rename the plugin you’re trying to add. For example if I build a plugin “foobar.component”, renaming it to “foobarz.component” then back to “foobar.component” usually gets it to load.

If the renaming doesn’t work then you’ll have to restart every time you change the attributes of your AudioUnit such as type (generator, effect, etc.), channel count, etc. Changing the code is usually fine but higher level changes to your plugin’s configuration may cause problems.

---

<div class="post-metadata">

**Author:** ![pajczur](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pajczur](https://forum.juce.com/u/pajczur)\
**Post date:** [September 21, 2018, 4:56am UTC](https://forum.juce.com/t/logic-pro-rescan-plugin-folder-how-to-avoid-scanning-all-plugins/29536/17 "2018-09-21T04:56:06Z")

</div>

Great thanks, it helped
