HOWTO macOS Mojave/Catalina notarization (plugins, app, pkg installers)

DSP, Plug-in and Host development discussion.
326 posts since 26 Jun, 2010

Post Fri Jun 18, 2021 1:32 am

I couldn't get that to work exactly, but I noticed the stapler command itself doesn't actually need the UUID, so I figured out a simpler way to do it. Instead of polling the UUID in the loop, just re-try stapling until it succeeds. Seems to work here.

If anyone is interested...

Code: Select all

xcrun altool --notarize-app --primary-bundle-id "$BUNDLEID" --username "$USERNAME" --password "$PASSWORD" --file "$FILE"

while true; do
printf "(Attempting stapler in 30...)\n"
sleep 30
if xcrun stapler staple "$FILE" | grep -q "The staple and validate action worked!";
James Walker-Hall

User avatar
16 posts since 13 Feb, 2017

Post Sun Jul 04, 2021 12:42 am


Apple app-specific password usage is limited to 25 max.
Can we use same the app-specific password for multiple plugins?
Or do we have to use unique app-specific passwords for each plugin individually?

User avatar
958 posts since 2 Jul, 2018

Post Mon Jul 05, 2021 12:30 am

You can use the same one for several products
Tone2 Audiosoftware

326 posts since 26 Jun, 2010

Post Sat Jul 10, 2021 3:11 pm

Does anyone know if you can disable the notification email?
Its kinda annoying when everything is setup and working (and you have confirmation from your script anyway)
James Walker-Hall

Return to “DSP and Plug-in Development”