"Copy plugin step" fails in CLion exporter, and VST/VST3 plugins are not built as bundles


#1

This is on OSX.

The “enable copy plugin step” fails when using the default options and when using the entire pathname. Here are my errors:

Copying "PluginName.vst3" to "Users/MyUserName/Library/Audio/Plug-Ins/VST3/"
make[2]: cmake: No such file or directory
make[2]: *** [PluginName.vst3/Contents/MacOS/PluginName] Error 1
make[2]: *** Deleting file `PluginName.vst3/Contents/MacOS/PluginName'
make[1]: *** [CMakeFiles/VST3.dir/all] Error 2

Copying "PluginName.component" to "Users/MyUserName/Library/Audio/Plug-  Ins/Components/"
make[2]: cmake: No such file or directory
make[2]: *** [PluginName.component/Contents/MacOS/PluginName] Error 1
make[2]: *** Deleting file `PluginName.component/Contents/MacOS/PluginName'

The folders exist, and the build works fine with XCode.

At the same time, CLion builds my plugin VSTs as folders with the label .vst/.vst3 instead of as bundles, and are not recognized by any host. This happens whether or not I am using the “enable copy step” option.