HISE Logo Forum
    • Categories
    • Register
    • Login

    Codesign error on Mac, what am I missing?

    Scheduled Pinned Locked Moved General Questions
    18 Posts 4 Posters 2.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.
    • LindonL
      Lindon @Mors
      last edited by

      @Mors said in Codesign error on Mac, what am I missing?:

      "/path/plugin.component"

      have you created the required certificate at the apple developer site?
      have you downloaded it and put it in your key chain?

      HISE Development for hire.
      www.channelrobot.com

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

        @Mors You need to add your certificate to the system keychain. If I remember correctly you can do this through xcode.

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

        1 Reply Last reply Reply Quote 0
        • MorsM
          Mors @Lindon
          last edited by

          @Lindon I have not! How do I go about doing this?

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

            @Mors https://developer.apple.com/documentation/xcode/sharing-your-teams-signing-certificates

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

            MorsM 1 Reply Last reply Reply Quote 0
            • MorsM
              Mors @d.healey
              last edited by

              @d-healey which certificate is it? Apple development, Apple distribution, Mac installer distribution, developer ID application or developer ID installer?

              I’m just going to be doing this for the .component files no installers or packages

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

                @Mors I only have Application and Installer certificates

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

                MorsM 1 Reply Last reply Reply Quote 0
                • MorsM
                  Mors @d.healey
                  last edited by

                  @d-healey I managed to get it code signed and notarised but was unable to staple, it said you can't staple .zip files or something like that? Now when you download the file it still gives the suspicious download warning but doesn't give any warning when opening the plug in, something I can do there?

                  HISEnbergH LindonL 2 Replies Last reply Reply Quote 0
                  • HISEnbergH
                    HISEnberg @Mors
                    last edited by

                    @Mors Do you mind sharing your code signing notarizing process? I have been struggling to get this done.

                    MorsM 1 Reply Last reply Reply Quote 0
                    • MorsM
                      Mors @HISEnberg
                      last edited by

                      @HISEnberg I just copied this - https://www.kvraudio.com/forum/viewtopic.php?t=531663

                      took a little trial and error with inputting the destination, but starting from /Users tended to work

                      HISEnbergH 1 Reply Last reply Reply Quote 0
                      • HISEnbergH
                        HISEnberg @Mors
                        last edited by

                        @Mors Thanks, I am just struggling to get the Developer ID certificate imported to Keychain Access. I take it you are the Account Holder and the process was as simple as creating it online and downloading it?

                        MorsM 1 Reply Last reply Reply Quote 0
                        • MorsM
                          Mors @HISEnberg
                          last edited by

                          @HISEnberg I followed this guide - https://developer.apple.com/documentation/xcode/sharing-your-teams-signing-certificates

                          created it and then exported it

                          HISEnbergH 1 Reply Last reply Reply Quote 1
                          • HISEnbergH
                            HISEnberg @Mors
                            last edited by

                            @Mors Ah brilliant thank you I was struggling to find documentation on this!

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

                              @HISEnberg said in Codesign error on Mac, what am I missing?:

                              @Mors Ah brilliant thank you I was struggling to find documentation on this!

                              lol he just reposted the links I'd already posted in this thread :cat_face_with_tears_of_joy:

                              @Mors said in Codesign error on Mac, what am I missing?:

                              it said you can't staple .zip

                              Yeah I've only had success with installers (pkg)

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

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

                                @Mors said in Codesign error on Mac, what am I missing?:

                                @d-healey I managed to get it code signed and notarised but was unable to staple, it said you can't staple .zip files or something like that? Now when you download the file it still gives the suspicious download warning but doesn't give any warning when opening the plug in, something I can do there?

                                you dont staple the zip, you staple the plugin, so:

                                1.compile plugin
                                2. code sign it
                                3. zip it up
                                4. Notarize the zip
                                5. if successful staple the output from step 2.
                                6. zip up the output from step 5.
                                7. ship the output from step 6

                                HISE Development for hire.
                                www.channelrobot.com

                                1 Reply Last reply Reply Quote 0
                                • HISEnbergH
                                  HISEnberg @d.healey
                                  last edited by

                                  @d-healey Thanks, I was a bit flustered at the time I wrote that so I missed your earlier posts. Got past the certificates eventually but still working out the notarization process for my package. Do you typically use terminal for this process or Xcode?

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

                                    @HISEnberg Terminal, I run a script that does all the work

                                    Here's a video I made about it. The only really difference now is we have to use the notary tool instead of altool (because Apple).

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

                                    HISEnbergH 1 Reply Last reply Reply Quote 0
                                    • HISEnbergH
                                      HISEnberg @d.healey
                                      last edited by HISEnberg

                                      @d-healey said in Codesign error on Mac, what am I missing?:

                                      Yes your video helped me out a lot previously setting up my package installer, really appreciate you sharing that.

                                      I still don't know why but I was having one hell of a time trying to set up my certificates and getting it notarized, terminal kept failing me (not acknowledging my ID's specifically). In the end these two videos and their extended links did the trick for me:

                                      Certificates:
                                      https://www.youtube.com/watch?v=m097IHT7v0Q

                                      Notarization:
                                      https://www.youtube.com/watch?v=GpdN97OX1Z8

                                      @Mors the notarization video may help you in stapling if you still haven't solved it.

                                      1 Reply Last reply Reply Quote 1
                                      • HISEnbergH HISEnberg referenced this topic on
                                      • First post
                                        Last post

                                      19

                                      Online

                                      1.7k

                                      Users

                                      11.8k

                                      Topics

                                      102.6k

                                      Posts