How to build a VST-plugin with OSX/XCode

bastibe picture bastibe · Aug 18, 2009 · Viewed 13.7k times · Source

I want to build a VST plugin on OSX. I can compile it just fine, but the VST-host (Cubase Essential 4) always crashes when trying to load it or reports that the plugin is somehow broken.
Probably, this is because I am missing some ingredients to the VST-bundle.

Which preferences need to be set in XCode and what stuff has to be put into the bundle to make this work? Or is there even a sample project somewhere?

Thank you in advance

Answer

Nik Reiman picture Nik Reiman · Jun 10, 2010

I have written up a guide for developing VST plugins by hand on Mac OSX here:

Making a VST plugin from scratch with Xcode

Also I have developed a set of Xcode project templates which you can use which do all of this for you and simply give you a base project for VST effects/instruments:

Teragon Audio Xcode VST Templates

Both of these are written for the VST 2.x SDK, as I have not worked with the 3.x SDK and am not using any sequencers which have migrated to it yet.