HISE Logo Forum
    • Categories
    • Register
    • Login

    Apple altool vs notarytool

    Scheduled Pinned Locked Moved General Questions
    applecommandaltoolnotarytool
    4 Posts 2 Posters 640 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • trillbillyT
      trillbilly
      last edited by

      Hey HISE Gang,

      I received an email from Apple (assuming because I used the altool command) reminding me it's been deprecated. It says to use the notarytool command-line instead.

      Is it as simple as replacing altool with notarytool or it is a whole new command list?

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @trillbilly
        last edited by

        @trillbilly No it's a bit different. I've been using it since last year. I have a script that does it all for me, a bit like the one I posted that uses altool.

        I will probably make an updated video about it at some point. But here's the basic script I use. Scroll down to the notarization part for the bit that you're interested in.

        build osx.zip

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        trillbillyT 1 Reply Last reply Reply Quote 2
        • trillbillyT
          trillbilly @d.healey
          last edited by

          @d-healey awesome! Thank you.

          1 Reply Last reply Reply Quote 0
          • trillbillyT
            trillbilly
            last edited by trillbilly

            For anyone doing it it manually, here is the code.

            Thanks @d-healey as always!

            Codesigning Plugin
            codesign --remove-signature "MacHD/User/Desktop/PluginName.vst3"
            codesign --remove-signature "MacHD/User/Desktop/PluginName.component"
            codesign -s "Developer ID Application: YOURTEAMID" "MacHD/User/Desktop/PluginName.vst3" --timestamp
            codesign -s "Developer ID Application: YOURTEAMID" "MacHD/User/Desktop/PluginName.component" --timestamp

            Build Installer

            Sign Installer
            productsign --sign "Developer ID Installer: YOURTEAMID" "MacHD/User/Desktop/PluginName.pkg" "MacHD/User/Desktop/Signed/PluginName.pkg"

            Notarize Installer
            xcrun notarytool submit --apple-id "YOURAPPLEID" --password "App-Specific-Password" --team-id "YOURTEAMID" "MacHD/User/Desktop/Signed/PluginName.pkg"

            Wait For Upload To Complete

            Staple Installer
            xcrun stapler staple "MacHD/User/Desktop/Signed/PluginName.pkg"

            Check Status (Accepted)
            spctl --assess -vvv --type install "MacHD/User/Desktop/Signed/PluginName.pkg"

            FYI: Just a tip coming from the altool manual notarizing. I used to have to enter my TEAMID including my name like "My Name (GD78YHD87G)" but with the notarytool, it seems you just need the actual TEAMID Number, not the name as well.

            Also, I dont think this way sends the Notarization Email Confirmation. I did a fairly small upload a while ago and have yet to receive it. I've had it take hours before, but for a much larger file. Typically it sent the email within 10 or so minutes with altool. (it does not send the email. Once the upload is complete, youre good to go).

            1 Reply Last reply Reply Quote 3
            • First post
              Last post

            19

            Online

            1.7k

            Users

            11.9k

            Topics

            103.4k

            Posts