On the latest develop, building any VST3 plugin that has the JUCE_PLUGINHOST_VST3=1 flag will fail to link.
This is on the latest Xcode, using CMake on an M1 mac, using the Unix Makefiles generator.
Building standalone works, and building VST3 without the flag works.
Exact error message is:
Undefined symbols for architecture arm64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture arm64
The target that fails to link is juce_vst3_helper and not the plugin itself.
I’m still having issues, but the helper is now building. Looks like a simple path issue, maybe VSCode gets a different build path? To fix it, I did this temporarily: