# Plugin Fails Logic Pro X AUVal

**URL:** <https://forum.juce.com/t/plugin-fails-logic-pro-x-auval/19128>\
**Category:** Audio Plugins\
**Created:** [September 18, 2016, 6:08pm UTC](https://forum.juce.com/t/plugin-fails-logic-pro-x-auval/19128 "2016-09-18T18:08:16Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![martinrobinson-2](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/martinrobinson-2/32/630_2.png) [@martinrobinson-2](https://forum.juce.com/u/martinrobinson-2)\
**Post date:** [September 19, 2016, 6:11am UTC](https://forum.juce.com/t/plugin-fails-logic-pro-x-auval/19128/5 "2016-09-19T06:11:35Z")

</div>

To debug the plug-in `auval` you need to set `auvaltool` as the executable in the, by selecting “other” in the Run section of the Scheme:

 ![](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/7/73337016e71e00a2923ecb1362450d1eb882e3b7.png)

Hit Command-Shift-G and enter `/usr/bin`

 ![](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/8/8b30138198ed9175b8d81d06a3baaf1a73b893b8.png)

Then select `auvaltool` fromt the list (not `auval`).

Finally, you need to enter the arguments to the `auvaltool` to debug your plugin. This will be:  
`-v aufx <Plugin Manufacturer Code> <Plugin Code>`  
for a processor plug-in, and:  
`-v aumu <Plugin Manufacturer Code> <Plugin Code>`  
for a synth.

Where _Plugin Manufacturer Code_ and _Plugin Code_ are the four char codes from your Projucer project.

![](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/c/c1f6116103ed775f8e56160cfcb700b955853294.png)

Then you can debug and see where `auval` is actually crashing.

BTW on 10.11 you might need to disable System Integrity Protection, otherwise the dubugger will fail to connect to `auvaltool` as it is at the system level:

> **[How to Disable System Integrity Protection (rootless) in Mac OS X](http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac-os-x/)**
>
> Apple has enabled a new default security oriented featured called System Integrity Protection, often called rootless or SIP, in Mac OS from versions 10.11 onward. The SIP / rootless feature is aime…

---

_[View the full topic](https://forum.juce.com/t/plugin-fails-logic-pro-x-auval/19128)._
