HISE Logo Forum
    • Categories
    • Register
    • Login

    Notarisation for dummies

    Scheduled Pinned Locked Moved General Questions
    160 Posts 20 Posters 19.2k 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.
    • d.healeyD
      d.healey @Lindon
      last edited by

      @lindon Oh it's been so long since I did it I'm misremembering the process

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

      1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @DanH
        last edited by

        @danh - what are apple telling you when you try to notarize the .app ???

        HISE Development for hire.
        www.channelrobot.com

        DanHD 1 Reply Last reply Reply Quote 0
        • DanHD
          DanH @Lindon
          last edited by DanH

          @lindon that it's not codesigned... Can't get the first part to work basically 😆

          Please let me know if any of the below has any clues for you

          {
            "logFormatVersion": 1,
            "jobId": "e7ddde08-d7e4-4a35-af9d-ca55954eee03",
            "status": "Invalid",
            "statusSummary": "Archive contains critical validation errors",
            "statusCode": 4000,
            "archiveFilename": "TEST-SAMPLES-DOWNLOADER_signed.pkg",
            "uploadDate": "2022-02-01T13:10:53Z",
            "sha256": "4282dcf278ae44b528e64083b6f4aeb22a59da516e60f725013b240a33f3af72",
            "ticketContents": null,
            "issues": [
              {
                "severity": "error",
                "code": null,
                "path": "TEST-SAMPLES-DOWNLOADER_signed.pkg/TEST-SAMPLES-DOWNLOADER_Standalone.pkg Contents/Payload/Applications/DANH/TEST-SAMPLES-DOWNLOADER.app/Contents/MacOS/TEST-SAMPLES-DOWNLOADER",
                "message": "The binary is not signed.",
                "docUrl": null,
                "architecture": "x86_64"
              },
              {
                "severity": "error",
                "code": null,
                "path": "TEST-SAMPLES-DOWNLOADER_signed.pkg/TEST-SAMPLES-DOWNLOADER_Standalone.pkg Contents/Payload/Applications/DANH/TEST-SAMPLES-DOWNLOADER.app/Contents/MacOS/TEST-SAMPLES-DOWNLOADER",
                "message": "The signature does not include a secure timestamp.",
                "docUrl": null,
                "architecture": "x86_64"
              },
              {
                "severity": "error",
                "code": null,
                "path": "TEST-SAMPLES-DOWNLOADER_signed.pkg/TEST-SAMPLES-DOWNLOADER_Standalone.pkg Contents/Payload/Applications/DANH/TEST-SAMPLES-DOWNLOADER.app/Contents/MacOS/TEST-SAMPLES-DOWNLOADER",
                "message": "The executable does not have the hardened runtime enabled.",
                "docUrl": null,
                "architecture": "x86_64"
              }
            ]
          }
          
          

          I should also add that I tried using @d-healey 's export app which should codesign and notarize the .pkg that it builds but I got this notarization error

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @DanH
            last edited by

            @danh well I think all the info. you need is right there,

            The pkg isnt signed
            theres no timestamp on it

            • its not hardende runtime...

            HISE Development for hire.
            www.channelrobot.com

            DanHD 1 Reply Last reply Reply Quote 0
            • DanHD
              DanH @Lindon
              last edited by DanH

              @lindon Thanks, yep, I must have been thinking it was the standalone that wasn't signed rather than the package.

              I guess in any case I'm looking to sign and notarize the app directly, in app form, so not in a .pkg.

              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
              https://dhplugins.com/ | https://dcbreaks.com/
              London, UK

              Y 1 Reply Last reply Reply Quote 0
              • Y
                yall @DanH
                last edited by

                @Lindon little question to understand something. I successfully notarized my pkgs. I then created a zip archive with inside, the windows installer and the pkg. I don't need to notarize the zip? Or just sign it?

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

                  @yall said in Notarisation for dummies:

                  then created a zip archive with inside, the windows installer and the pkg

                  Why? Just give the user individual links. Most users only use one OS and you are wasting their bandwidth and yours by making them download things they probably don't need.

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

                  Y 1 Reply Last reply Reply Quote 0
                  • Y
                    yall @d.healey
                    last edited by

                    @d-healey it allows me to avoid looking for links, if a client later wants a windows version for example, I should send them back. while the I zip it has everything, and wetransfert. faster for me.

                    LindonL 1 Reply Last reply Reply Quote 0
                    • LindonL
                      Lindon @yall
                      last edited by

                      @yall said in Notarisation for dummies:

                      @d-healey it allows me to avoid looking for links, if a client later wants a windows version for example, I should send them back. while the I zip it has everything, and wetransfert. faster for me.

                      --what Dave said-- Not sure what happens to a zip with a windows binary in it when its opened on a Mac - seems a waste of end user band width...

                      HISE Development for hire.
                      www.channelrobot.com

                      Y 1 Reply Last reply Reply Quote 0
                      • Y
                        yall @Lindon
                        last edited by

                        @lindon good ok I will give 2 links. I would do this for the polar bears! lol. that said, I notarized my zip contant exd and pkg successfully. but the stapling does not work and the test is rejected so I would only provide the pkg and exe

                        LindonL 1 Reply Last reply Reply Quote 0
                        • LindonL
                          Lindon @yall
                          last edited by

                          @yall -- odd I've never had staple process failures...

                          HISE Development for hire.
                          www.channelrobot.com

                          Y DanHD 2 Replies Last reply Reply Quote 0
                          • Y
                            yall @Lindon
                            last edited by

                            @lindon the terminal tells me that it cannot staple to a zip

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

                              @yall said in Notarisation for dummies:

                              @lindon the terminal tells me that it cannot staple to a zip

                              Just a moment...

                              favicon

                              (www.kvraudio.com)

                              If you are distributing your plugins with a simple ZIP file, you still need to notarize that (you are actually notarizing the content of the ZIP). The problem here is that you can't staple a ZIP file

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

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

                                @Lindon Im attempting to run auval.

                                I can get it to scan for all AU (which it only displays Apple AUs), however, I cant seem to get it to scan a particular AU or even scan for more than just Apple items.

                                What is the answer Oh Wise Apple Lorde?

                                LindonL 1 Reply Last reply Reply Quote 0
                                • LindonL
                                  Lindon @trillbilly
                                  last edited by

                                  @trillbilly I think like all Apple products(Logic I'm looking at you..) that it looks for the plugin id first and if there are two with the same ID it will only load (find) the first one.. so first step make sure your plugin has a unique ID, then make sure its in the correct AU folder...

                                  this: "or even scan for more than just Apple items" - make me suspect you are not putting your plugins in the correct folder...

                                  HISE Development for hire.
                                  www.channelrobot.com

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

                                    @lindon I just assumed it was the regular "components" folder. I will do auval with location and find where it is pulling the apple AUs from and direct mine there as well.

                                    When you say unique ID, I assume you mean unique as in per developer? Or do they really want you to go through all AUs on the system and find a unique code...

                                    I will be in studio in a few hours, I'm on dad duty at the moment.

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

                                      @trillbilly said in Notarisation for dummies:

                                      When you say unique ID, I assume you mean unique as in per developer

                                      You need to add a company code, a plugin code, and an app bundle ID to your project through the project preferences in HISE.

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

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

                                        @d-healey yes, I've got all of this. I was just ensuring the unique code only had to be unique to your developer account/company and not unique to all other AUs on the machine...

                                        I guess I should mention I've got everything signed and notarized. I'm just trying to figure out auval to add to the "Apple Process" if you will...

                                        1 Reply Last reply Reply Quote 0
                                        • DanHD
                                          DanH @Lindon
                                          last edited by

                                          Hi guys, experiencing a really weird issue with Terminal when notarising. Codesigning all fine btw.

                                          so I go to notarise and Terminal says it can't find my file, but when it reads back the file's location there's a 'U201c' in front of my path. So now the path is like:

                                          NSLocalizedFailureReason = "The file '\U201cUsers/UnsignedPlugins/myplugin\n\nxcrun altool --notarize-app --primary-bundle-id com.me.HPRE --username me@mail.com --password **hidden value** --file \U201cUsers/UnsignedPlugins/installer.pkg' cannot be found.";
                                          

                                          I'm so baffled! Worked fine a couple of days ago. Anyone come across this?

                                          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                          https://dhplugins.com/ | https://dcbreaks.com/
                                          London, UK

                                          orangeO 1 Reply Last reply Reply Quote 0
                                          • orangeO
                                            orange @DanH
                                            last edited by orange

                                            @DanH Check the file path with \ or / question :) macOS uses / for folders

                                            develop Branch / XCode 13.1
                                            macOS Monterey / M1 Max

                                            DanHD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            37

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.5k

                                            Posts