Projects requiring Core Audio will not build with Xcode 6.2 Yosemite


#1

I'm trying to follow the tutorial for a new VST audio plugin. The project creates as it should but when I build I get the following error:

/Applications/Xcode.app/Contents/Developer/usr/bin/Rez failed with exit code 3.

After reviewing this Juice Post: http://www.juce.com/forum/topic/xcode-43

I realized the issue was missing Core Audio files, and if I click on Build Phases --> compiled sources, I can see the missing cpp files.

AUBase.cpp, AUBuffer.cpp etc

The post says to simply download the Core Audio SDK, but it appears there is no longer a link on the developer.apple.com  for it. I remember looking for it before and I think its been discontinued.

I don't understand how others are getting past this step. If I look in the Core Audio Framework, The classes are not the same.

I also have the same problem with the audio plugin example apps in the Introjucer. The other examples that do not require the Core Audio classes are all building and running.

Thanks in advance for your help.

 


#2

I Typed the name of one of the missing classes in google and found a link to this old apple docs page, which had a 'download sample code' button.

 

https://developer.apple.com/library/mac/samplecode/CoreAudioUtilityClasses/Listings/CoreAudio_AudioUnits_AUPublic_AUCarbonViewBase_AUCarbonViewBase_cpp.html

 

It was basically the Core Audio file tree that needed to be added to the Xcode.app/Developer... directory.

They did not make it easy.

Now I just need to find the Steinberg files.

 


#3

The Steinberg files are here:

http://www.steinberg.net/en/company/developers.html

You want the "VST 3.6.0 Audio Plug-Ins SDK". It's good for both VST3 and VST2.