Undeclared Identifier error trying to build plugin host in Xcode

I’m trying to follow this tutorial to build a simple plugin with JUCE: https://juce.com/doc/tutorial_create_projucer_basic_plugin

I’ve followed all the steps up to building the plugin host. I opened the project in Xcode but when I try to build I get the error “Use of undeclared identifier ‘Steinberg’” in the juce_VST3Common header file. Does anyone know how to fix this? Cheers.

Which versions of JUCE and the VST SDK are you using?

Hi,

Sorry for the slow reply. I’m using JUCE 5 and VST SDK 3.6.8. Thanks

Try using the very latest version of JUCE from GitHub: https://github.com/WeAreROLI/JUCE/tree/develop

Or use VST SDK 3.6.7 (http://www.steinberg.net/sdk_downloads/vstsdk367_03_03_2017_build_352.zip)