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.
    • Y
      yall @yall
      last edited by

      @Lindon the problem may be with x code 8.3 instead of a newer version?

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

        Official docs say you need xcode 10 or later.

        https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution/customizing_the_notarization_workflow

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

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

          @d-healey @Lindon i just installed xcode 10. i received an email from apple saying that the notarization was not accepted. but I think I know why, the signature of the plugin, in the end, is not good. however when I do it nothing happens on the terminal. basically I can't sign. however on a previous manipulation, he told me that the plugin was already signed but probably not correctly. a little help would be welcome ^^

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

            @yall Did you sign the pkg?

            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 I started again from the beginning so the first step would be to sign the plugin or code it, is that right? with this line>
              codesign -s "Developer application ID: my name (my number id)" "/Users/Desktop/your.component" --timestamp
              already for me it does not work

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

                @yall

                Codesign the plugin
                Package the plugin
                Codesign the package
                Notarize the package

                for me it does not work

                What error do you get?

                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 no error because nothing happens that is the problem. I have checked multiple times to see if I was wrong, but I do not think so.

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

                    @yall Post a video so we can see what you're doing and what messages you get (blur out your credentials of course).

                    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 ok I will do that tomorrow, thank you;)

                      1 Reply Last reply Reply Quote 1
                      • Y
                        yall
                        last edited by

                        @d-healey @Lindon

                        Here are my precise steps for signing. (The notarization fails because I think my plugin is not signed correctly you will understand later)

                        Step 0> plugin export wise> myplugin.component
                        Step 1> I place the myplugin on the desktop
                        Step 3> I open Keychain and I create a certificate request from a competent authority. I save "CertificateSigningRequest.certSigningRequest" on my desktop.
                        Step 4> I log into my apple developer space and create a Developer ID Application certificate, so I import the "CertificateSigningRequest.certSigningRequest" file.
                        I create a certificates also a pkg distribution certificate…;
                        Step 5> I download the certificates and install them, I see them appear in Keychain

                        Step 6> I want to sign my myplugin.component so I proceed this way from the terminal>
                        Step 6.1 codesign -s "Developer ID Application: myname (mycode)" "/Users/macmini/Desktop/myplugin.component" --timestamp

                                  > here nothing is happening in particular so I decide to check to start step 6.1 again. the terminal tells me that the myplugin.component. is already signed
                        

                        Step7> I really want to be sure that myplugin.component is signed so this time, from the terminal, I enter this formula>
                        codesign -vvv /Users/macmini/Desktop/myplugin.component
                        I get this>. /Users/macmini/Desktop/myplugin.component: valid on disk
                        /Users/macmini/Desktop/myplugin.component: does not satisfy its designated Requirement

                                    This sentence "does not satisfy its designated Requirement" appeals to me but I try anyway (you never know ^^)
                        

                        Step 8> I create a raw PKG or I integrate myplugin.component and then I transform it into a distribution. I affix the certificate from the "project" tab.
                        Step 9> I therefore want to sign my PKG and for that I use the following formula from the terminal>
                        codesign -s "Developer ID Application: myname (mycode)" "/Users/macmini/Desktop/myplugin.pkg" --timestamp

                        Step 10: I check by entering the same command again. The terminal tells me myplugin.pkg is already signed (same step as 6.1)

                               Again I really want to be sure so I enter this command>
                                   codesign -vvv /Users/macmini/Desktop/myplugin.pkg
                                  I get exactly the same as in step 7. "valid on disk" and "does not meet its designated requirement"
                        

                        Step 11> I'm trying to be a notarize but I already know the result…. I am using this command

                            xcrun altool --notarize-app -f "/Users/macmini/Desktop/myplugin.pkg" --primary-bundle-id en.myname.pkg.myplugin --username "my email address" --password "my password altool pass "
                        

                        Step 12> I drink a coffee
                        Step 13> I wash my cup of coffee!
                        Step 14> I receive an email from apple (I'm happy, I have friends ^^). In this mail I get this> the Mac software you downloaded has not been notarized, please check the notarization log with Xcode or altool, fix the issues it presents and download your software again.

                        I think concretely that the problem comes from the signature of the component and the pkg.

                        I could not make videos my mac paddles too much

                        My Mac config> High Sierra 10.13.6. and x code 10.1

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

                          steps 3,4 and 5 are pretty redundant I think - I never do these.

                          HISE Development for hire.
                          www.channelrobot.com

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

                            @Lindon Are there any steps that I missed or did I get the wrong certificates? there is nothing to modify in the certificates? I'm almost there, I'm only missing this phase ^^

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

                              @yall you dont need any certificates to codesign your plugins.

                              You need a Developer install certificate for whitebox packages to allow the install to happen correctly.

                              HISE Development for hire.
                              www.channelrobot.com

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • LindonL
                                Lindon
                                last edited by

                                @yall said in Notarisation for dummies:

                                codesign -s "Developer ID Application: myname (mycode)" "/Users/macmini/Desktop/myplugin.component" --timestamp

                                this looks slightly odd from my perspective:

                                codesign -s "Developer ID Application: myname (mycode)" "/Users/macmini/Desktop/myplugin.component" --timestamp

                                I always uses a specific user so not "/Users/macmini/Desktop"

                                but "/Desktop" etc..

                                HISE Development for hire.
                                www.channelrobot.com

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

                                  @Lindon said in Notarisation for dummies:

                                  @yall you dont need any certificates to codesign your plugins.

                                  Pretty sure you do. But you only need to install it into the keyring once and then never touch it again.

                                  favicon

                                  (help.apple.com)

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

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

                                    @d-healey @Lindon so i replaced / macmini / desktop .... with .... it tells me that the plugin is already signed but when I check I still have the message (valid on disk) and (does not satisfy its designated requirement).

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

                                      I just tried something. I have re-exported a new plugin and followed my steps. the plugin is now signed, the pkg too. but the notarization failed again.

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

                                        @yall

                                        but the notarization failed again.

                                        What error?

                                        Got a video?

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

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

                                          @d-healey I cannot record the screen in video with my mac I do not have video editing software here.
                                          I have no error in the terminal but simply an email from apple telling me, your application has not been notarized.

                                          I went back to the pakage application (whitebox) to affix the certificate to try, but it said to me: There is no private key associated with the certificate.
                                          frankly I really don't understand anything and it's not that simple

                                          DanHD LindonL 2 Replies Last reply Reply Quote 0
                                          • DanHD
                                            DanH @yall
                                            last edited by

                                            @yall You can screen record with Quicktime fyi

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

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

                                            37

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.5k

                                            Posts