AUs in Xcode

Hello,

sorry to bring this up again, I’ve been having some rez errors, seemingly crept up out of no where. The only thing I can think of is that I cleaned the xcode project, which removed some old valid files, and it re-compiled with an updated version of xcode (7.3.1) and I’m now completely stuck. Here is the error:

> [...]/JuceLibraryCode/modules/juce_audio_plugin_client/AU/AUResources.r:89: ### /Applications/Xcode.app/Contents/Developer/usr/bin/Rez - Badly formed expression.
> [...]/JuceLibraryCode/modules/juce_audio_plugin_client/juce_audio_plugin_client_AU.r: ### /Applications/Xcode.app/Contents/Developer/usr/bin/Rez - Since errors occurred, /Users/jonathanthorpe/Library/Developer/Xcode/DerivedData/Relay-gznmewrtzrpwuafyzllzfeggfwmv/Build/Intermediates/Relay.build/Debug/Relay (AU).build/ResourceManagerResources/Objects/juce_audio_plugin_client_AU.rsrc's resource fork was not written.
> Command /Applications/Xcode.app/Contents/Developer/usr/bin/Rez failed with exit code 2

I’ve tried quite a few things:

  • Deleted the build folder, build products, derived data, juce modules and regenerated with Projucer (4.2.1), rebuilt from scratch.
  • Tried to create a new vanilla audio plug-in, now get the same rez error.
  • Checked out the latest master branch (4.2.2), build the Projucer and Audio Host, same error.
  • Checked out the latest develop branch (4.2.2, commit 7abbf67), build the Projucer and Audio Host, regenerated the project, same error.
  • Unchecked AU, only build AUv3, build works but Plugin Host wont run it (Error dialog: “No compatible plug-in format exists for this plugin”).

I don’t really see what else I can do, last resort would be to somehow check with a previous version of Xcode (which isn’t easy to get with all the new AppStore way of doing things). It really seems to me that it worked, then Xcode updated behind my back, then it still worked, then I cleaned the project, and it broke with no way of getting even a development environment working. Any suggestion would be very very welcome.