Rez error for AU plugin


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…


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?


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.