Problem with codesigning

I’m relatively new’ish to programming, but I made a VST3 that’s working fine on my developer macbook that I signed through Apple Development with my own team selected. I tried getting it to work on my other macbook but it doesn’t show up.

I tried to codesign my VST3 professionally and went through tons of things, but never seemed to work. I ran through lots of errors and when i finally didn’t have an error anymore the vst3 didn’t even show up anymore on my own macbook (ableton 12).

Did you also do the Apple notarization process after code-signing? That is important in order to pass MacOS gatekeeper.

1 Like

How do i do that?

Here’s how I do it. I recommend putting this into a script so it doesn’t have to be done manually every time. First you zip the VST3/AU/App, then you run this command

xcrun notarytool submit "path/to/zipped/vst3file.zip" --apple-id "example@example.com" --password "your-app-specific-password" --team-id "YourAppleDeveloperTeamID" --wait

Then unzip and run this:

xcrun stapler staple "path/to/unzipped/vst3file.vst3"

To verify this worked correctly:

#verify signature
codesign --verify --deep "path/to/unzipped/vst3file.vst3"

#verify stapling
xcrun stapler validate "path/to/unzipped/vst3file.vst3"

#verify the program will pass Gatekeeper
spctl --assess --type execute --verbose "path/to/unzipped/vst3file.vst3"
1 Like