# Rez error for AU plugin

**URL:** <https://forum.juce.com/t/rez-error-for-au-plugin/24445>\
**Category:** Audio Plugins\
**Created:** [September 30, 2017, 1:00pm UTC](https://forum.juce.com/t/rez-error-for-au-plugin/24445 "2017-09-30T13:00:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthieu-brucher](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@matthieu-brucher](https://forum.juce.com/u/matthieu-brucher)\
**Post date:** [September 30, 2017, 1:00pm UTC](https://forum.juce.com/t/rez-error-for-au-plugin/24445/1 "2017-09-30T13:00:39Z")

</div>

I just noticed that the Audio Unit plugin fails to build on my project with JUCE 5.1.2 with he following error:  
failed to find juce\_audio\_plugin\_client\_AU/juce\_audio\_plugin\_client\_AU.r  
The “interesting” part is that there is a folder juce\_audio\_plugin\_client, but not juce\_audio\_plugin\_client\_AU.  
All the other plugins are compiling properly, so I’m a little bit lost here…

---

<div class="post-metadata">

**Author:** ![matthieu-brucher](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@matthieu-brucher](https://forum.juce.com/u/matthieu-brucher)\
**Post date:** [September 30, 2017, 9:45pm UTC](https://forum.juce.com/t/rez-error-for-au-plugin/24445/2 "2017-09-30T21:45:29Z")

</div>

Seems like recreating the project from scratch helped…  
I also noticed that even if I rename the project and change its name, it doesn’t change the underlying shared project name?

---

<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:** [October 2, 2017, 8:17am UTC](https://forum.juce.com/t/rez-error-for-au-plugin/24445/3 "2017-10-02T08:17:43Z")

</div>

> [@Matthieu\_Brucher](#):
>
> it doesn’t change the underlying shared project name?

It does, but Xcode automatically creates schemes for every target it finds in a project. The Projucer never adds schemes itself, so the first time you open a JUCE project in Xcode it will create a scheme for every single target in the project. The schemes live in a file separate from the main project file.

If you now change the name of a target then the old scheme files still remain and Xcode will still show them. It’s best to just remove the Builds folder altogether and let the Projucer recreate it for you. However, you will loose some Xcode settings like the location of breakpoints etc.

---

<div class="post-metadata">

**Author:** ![aguy-PG](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@aguy-PG](https://forum.juce.com/u/aguy-PG)\
**Post date:** [May 29, 2019, 11:10pm UTC](https://forum.juce.com/t/rez-error-for-au-plugin/24445/4 "2019-05-29T23:10:36Z")

</div>

I’m having the same issue trying to build an AU and I’m not sure how to fix it. What do you mean by “recreating the project from scratch”?. I tried deleting my JUCELibraryCode and Builds folders and “Clean” in xcode but nothing seems to work. Any help would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [May 30, 2019, 6:22am UTC](https://forum.juce.com/t/rez-error-for-au-plugin/24445/5 "2019-05-30T06:22:03Z")

</div>

I’ve seen this before when someone is trying to use a system directory as a workspace. Are you trying to build your project in somewhere like `/Developer` rather than somewhere in your home directory?

---

<div class="post-metadata">

**Author:** ![aguy-PG](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@aguy-PG](https://forum.juce.com/u/aguy-PG)\
**Post date:** [May 30, 2019, 7:52pm UTC](https://forum.juce.com/t/rez-error-for-au-plugin/24445/6 "2019-05-30T19:52:47Z")

</div>

Thanks t0m, that appears to be it! It wasn’t my actual project but the JUCE library was in /Developer which was what had caused the problem. I moved everything out and now its compiling the AU as well.

---

<div class="post-metadata">

**Author:** ![Guilian](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@Guilian](https://forum.juce.com/u/Guilian)\
**Post date:** [March 25, 2023, 9:28am UTC](https://forum.juce.com/t/rez-error-for-au-plugin/24445/7 "2023-03-25T09:28:36Z")

</div>

I’m struggeling with the same issue and none of the suggested solutions I found till now could help me to fix the problem. I’m using JUCE and ProJucer version 7.0.5. The JUCE folder and the project I’m trying to open in XCode are located in my home Directory. Am I setting the Global Paths wrongly? I also moved the XCode folder from the Developper folder the my Home Directory but this did not fix the problem

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

I will appreciate any help

---

<div class="post-metadata">

**Author:** ![yfede](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/yfede/32/506_2.png) [@yfede](https://forum.juce.com/u/yfede)\
**Post date:** [March 27, 2023, 7:58am UTC](https://forum.juce.com/t/rez-error-for-au-plugin/24445/8 "2023-03-27T07:58:59Z")

</div>

Recent versions of JUCE (7.0.5 certainly among them) no longer provide the file “juce\_audio\_plugin\_client\_AU.r” that is probably referenced in your “include\_juce\_audio\_plugin\_client\_AU.r”.

I believe the best solution is to remove “include\_juce\_audio\_plugin\_client\_AU.r” from your project altogether, that should fix the issue
