I had already posted about this a year ago, but since then got no useful answer.
It’s not possible to build the auwrapper with the VST SDK 3.7.1 and XCode 11.
MarkusK1:
PhaseScriptExecution CMake\ PostBuild\ Rules /Users/markuskrause/VST_SDK_3.7/build/public.sdk/source/vst/auwrapper/again/vstsdk.build/Debug/again_au.build/Script-45B8A0C2C8D3442685735112.sh (in target ‘again_au’ from project ‘vstsdk’)
cd /Users/markuskrause/VST_SDK_3.7/VST3_SDK
/bin/sh -c /Users/markuskrause/VST_SDK_3.7/build/public.sdk/source/vst/auwrapper/again/vstsdk.build/Debug/again_au.build/Script-45B8A0C2C8D3442685735112.sh
/Users/markuskrause/VST_SDK_3.7/build/VST3/Debug/again_au.component/Contents/Resources/plugin.vst3 → /Users/markuskrause/VST_SDK_3.7/build/VST3/Debug/again.vst3
/Users/markuskrause/Library/Audio/Plug-Ins/Components//again_au.component → /Users/markuskrause/VST_SDK_3.7/build/VST3/Debug/again_au.component
failed to find AudioUnit/AudioUnit.r
/Users/markuskrause/VST_SDK_3.7/VST3_SDK/public.sdk/source/vst/auwrapper/again/…/auresource.r:37: ### Rez - kCFHostErrorUnknown / kCFStreamErrorSOCKS4SubDomainResponse / kCFStreamErrorSOCKS5BadState / kCFStreamErrorDomainMacOSStatus / siInitVBLQsErr / dsAddressErr / scCommErr / ENOENT (2) during open of “AudioUnit/AudioUnit.r”.
Fatal Error!
/Users/markuskrause/VST_SDK_3.7/VST3_SDK/public.sdk/source/vst/auwrapper/again/…/auresource.r:37: ### Rez - Fatal Error, can’t recover.
/Users/markuskrause/VST_SDK_3.7/VST3_SDK/public.sdk/source/vst/auwrapper/again/…/auresource.r: ### Rez - Since errors occurred, /Users/markuskrause/VST_SDK_3.7/build/VST3/Debug/again_au.component/Contents/Resources/again_au.rsrc’s resource fork was not completely updated.
Command PhaseScriptExecution failed with a nonzero exit code
An interesting detail in that there is a duplicate slash in this path:
… /Components//again_au.component
The same issue seems to appear also for other users and other frameworks:
opened 09:32PM - 29 Sep 19 UTC
closed 11:37PM - 30 Sep 19 UTC
This happened with the IPlugInstrument example out of the box. While there are n… o problems building the standalone app and the vst3 version, the AudioUnit 2 version seems to fail.
I did some digging around and this path in the build settings under other rez flags doesn't seem to exist on my computer:
`/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Versions/A/Headers`
The headers folder at the end doesn't, to be specific.
This the build error message:
`failed to find AUComponent/AUComponent.r
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.r:18: ### Rez - noErr (0) during open of "AUComponent.r".
Fatal Error!
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.r:18: ### Rez - Fatal Error, can't recover.
AUComponent.r: ### Rez - Since errors occurred, /Users/vm/Library/Developer/Xcode/DerivedData/IPlugInstrument-bnkwvakgncaduvfychxdutzjvqwa/Build/Intermediates.noindex/IPlugInstrument-macOS.build/Debug/AU.build/ResourceManagerResources/Objects/IPlugAU.rsrc's resource fork was not completely updated.
Command Rez failed with a nonzero exit code`
Ultimately changing the include path here
https://github.com/iPlug2/iPlug2/blob/3add4564d92638c6a160bcab7910d6c009e85e13/IPlug/AUv2/IPlugAU.r#L12
to `#include <AudioUnit.r>` fixed the build process for me.