Hi,
i am trying to build an AUv3 but it doesn’t show the target in Clion.
It is building AU and VST3 fine.
Can you share the code to do this?
Many thanks!
Hi,
i am trying to build an AUv3 but it doesn’t show the target in Clion.
It is building AU and VST3 fine.
Can you share the code to do this?
Many thanks!
AUv3 targets are only supported when using the Xcode generator (i.e. -G Xcode
). It should still be possible to do the bulk of your development in Clion, but use xcodebuild
to build your AUv3.
THANK YOU!
You can actually build AUv3 in CLion itself. Just select the Xcode exporter in the CMake settings of CLion and the AUv3 will show up.
It has built, but we can’t get it to validate in Logic.
It opens as a standalone and we have signed it.
The same code for AUv2 works fine.
Logic sees it as AUv3, but it produces this:
TESTING OPEN TIMES:
COLD:
2022-11-17 18:53:38.799 auvaltool[15038:222548] Error: Failed to connect to remote view because of Error Domain=NSCocoaErrorDomain Code=4099 “The connection to service created from an endpoint was invalidated from this process.” UserInfo={NSDebugDescription=The connection to service created from an endpoint was invalidated from this process.}
FATAL ERROR: OpenAComponent: result: 4099,0x1003
validation result: couldn’t be opened
That sounds like you need to set the correct sandboxing options when calling juce_add_plugin
.
I use something like:
juce_add_plugin(MyPlugin
HARDENED_RUNTIME_ENABLED TRUE
AU_SANDBOX_SAFE TRUE
APP_SANDBOX_ENABLED TRUE
APP_SANDBOX_OPTIONS
"com.apple.security.files.user-selected.read-write"
"com.apple.security.assets.music.read-write"
#other regular plugin stuff)