Without this XCode fails to create the bundle and complains that ‘code object is not signed at all’.
Unfortunately, when making an installer for distribution, even after signing everything with a proper Apple developer certificate,
and despite codesign saying the bundle is properly signed, I cannot get it to pass notarization checks using notarytool.
The log states ‘The signature of the binary is invalid’.
If I remove the .json or move it to Resources everything works perfectly.
Are you sure that putting non-code objects at the root of the Contents bundle folder is actually allowed ? According to Apple it strongly looks like it isn’t … https://developer.apple.com/forums/thread/128166
Thanks.
In the meantime I will use the IPluginCompatibility option instead.
For the record this compatibility feature is used by NI Maschine to provide NKS integration for plugins on Apple Silicon where VST2 isn’t available anymore.
Hi Lorcan,
I just checked here to notarize a plug-in installer which includes a plug-in with a moduleinfo.json file and it was successfully notarized by Apple.
Did you really sign the moduleinfo.json with the correct identity? I see that the signing of this file in the SDK is currently broken for release mode as it always signs the moduleinfo.json with an ad-hoc signature.
Yes I did sign the moduleinfo.json with my Apple Developer Certificate, otherwise codesign reports the signature as invalid (the vst3 binary and json signatures don’t match).
Codesign then reports the bundle signature as correct but notarytool disagrees, you get an error in the subsequent log …
Yes I notarize the .pkg, prior to that I notarize the .vst3 binary as this is recommended by all sorts of sources including Apple, juce, kvr etc.
Steinberg’s own Halion Sonic SE and Groove Agent SE are also signed and notarized.
Thanks, if I look at the installed plug-in where I added the moduleinfo.json file, the app Apparency shows the plug-in as notarized.
So if you notarize only the installer the plug-in gets this status after installation. At least this works.
For a deeper analysis I need more time. We have a CI infrastructure that does all the building, signing and notarization for us. So I need to do this by hand to see what happens exactly. For me it doesn’t make sense to disallow notarization in this case, but we will see.
Hi Lorcan,
I finally was able to work on this issue. For me it is possible to notarize a ZIP file containing the VST3 bundle without issues. We use the REST API and not the notarytool to do the notarization.
Can you tell me with which parameters for notarytool you get the error?
Hi @Arne_Scheffler, I’m currently moving houses and am without access to the mac for a few days.
I’ll check this shortly and will get back to you ASAP, thanks.