HISE Logo Forum
    • Categories
    • Register
    • Login

    Ad Hoc Code Sign Error OSX

    Scheduled Pinned Locked Moved General Questions
    32 Posts 5 Posters 1.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.
    • DanHD
      DanH @Lindon
      last edited by

      @lindon this is literally exporting from HISE direct, as in:

      Export -> Export as Instrument (VST/AU) Plugin

      So no codesigning should be happening anywhere as far as I'm concerned. I could be wrong though?

      I'm not sure what's changed between 30th Nov and now...

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

      Matt_SFM 1 Reply Last reply Reply Quote 0
      • Matt_SFM
        Matt_SF @DanH
        last edited by

        @danh we talked about this recently and I got the same error, which was gone with I-don't-remeber-which commit. But afterwards I grabbed a more recent commit and the issue was back... The solution I used was to open the autogenerated projucer file and build the plugin using xcode (like when you're building HISE).
        It worked fine, but I always codesign my plugins manually after compiling.

        Develop branch
        Win10 & VS17 / Ventura & Xcode 14. 3

        DanHD 3 Replies Last reply Reply Quote 0
        • DanHD
          DanH @Matt_SF
          last edited by

          @matt_sf Thanks, let me give this a try

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

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

            @matt_sf sadly getting the same error

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

            Matt_SFM 1 Reply Last reply Reply Quote 0
            • Matt_SFM
              Matt_SF @DanH
              last edited by

              @danh oh I didn't mentioned it but in the projucer file you have to disable 'hardened runtime'. I should have some time soon to check the process, I'll come back with more info.

              Develop branch
              Win10 & VS17 / Ventura & Xcode 14. 3

              DanHD 2 Replies Last reply Reply Quote 1
              • DanHD
                DanH @Matt_SF
                last edited by

                @matt_sf aha! let me try again 😆

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

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

                  @matt_sf ok, success... nice thanks. so it's built the standalone. How do I make it build a vst / au?

                  Sorry, haven't built this way before!

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

                  d.healeyD Matt_SFM 2 Replies Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @DanH
                    last edited by

                    @danh Exactly the same method for the plugin

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

                    1 Reply Last reply Reply Quote 0
                    • Matt_SFM
                      Matt_SF @DanH
                      last edited by

                      @danh great! it depends on the autogenerated file. So just choose 'HISE > export as plugin'

                      Develop branch
                      Win10 & VS17 / Ventura & Xcode 14. 3

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

                        @matt_sf ok gotcha. Thanks loads for the help. Definitely more time consuming than using @d-healey 's app!!

                        If only we could find the issue...

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

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • DanHD
                          DanH @Matt_SF
                          last edited by

                          @matt_sf are you on Mojave as well?

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

                          Matt_SFM 1 Reply Last reply Reply Quote 0
                          • Matt_SFM
                            Matt_SF @DanH
                            last edited by

                            @danh nope, catalina

                            Develop branch
                            Win10 & VS17 / Ventura & Xcode 14. 3

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

                              @danh said in Ad Hoc Code Sign Error OSX:

                              If only we could find the issue...

                              Probably a problem with the template generator in HISE, should be an easy fix

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

                              DanHD 1 Reply Last reply Reply Quote 0
                              • DanHD
                                DanH @d.healey
                                last edited by

                                @d-healey As in it's setting the Runtime to the wrong setting?

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

                                Matt_SFM 2 Replies Last reply Reply Quote 0
                                • Matt_SFM
                                  Matt_SF @DanH
                                  last edited by

                                  @danh I can't check it now but search for the setting here :

                                  HISE/hi_backend/backend/ProjectTemplate.cpp
                                  HISE/hi_backend/backend/StandaloneProjectTemplate.cpp

                                  I'll try to test it tonight and see if it works

                                  Develop branch
                                  Win10 & VS17 / Ventura & Xcode 14. 3

                                  1 Reply Last reply Reply Quote 1
                                  • Matt_SFM
                                    Matt_SF @DanH
                                    last edited by

                                    @danh It couldn't be simpler : go into these files :

                                    HISE/hi_backend/backend/ProjectTemplate.cpp
                                    HISE/hi_backend/backend/StandaloneProjectTemplate.cpp

                                    and search for hardenedRuntime=\"1\".

                                    Change 1 to 0, recompile HISE and you're done, it's working just fine :thumbs_up:

                                    Develop branch
                                    Win10 & VS17 / Ventura & Xcode 14. 3

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

                                      AFAIK, the Hardened Runtime is a must for the notarization. So disabling it isn't a good way to go.

                                      There should be a fix without disabling it.

                                      develop Branch / XCode 13.1
                                      macOS Monterey / M1 Max

                                      Matt_SFM d.healeyD 3 Replies Last reply Reply Quote 0
                                      • Matt_SFM
                                        Matt_SF @orange
                                        last edited by

                                        @orange ok thanks for the info ! I'll try to notarize a plugin later to see what happens. If really this isn't the solution, we'll still be able to compile projects by loading the projucer file in xcode, so this is not a big issue.

                                        Develop branch
                                        Win10 & VS17 / Ventura & Xcode 14. 3

                                        1 Reply Last reply Reply Quote 1
                                        • Matt_SFM
                                          Matt_SF @orange
                                          last edited by

                                          @orange

                                          compile projects by loading the projucer file in xcode

                                          Just thought that setting the value to 0 instead of 1 = setting the parameter to 'disabled' in the projucer file, so both solutions are the same. I'll take a look later

                                          Develop branch
                                          Win10 & VS17 / Ventura & Xcode 14. 3

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

                                            @matt_sf just tested. Making the changes you suggested works and notarizes ok. I used @d-healey's app to do so. Hopefully this fixes it :) :crossed_fingers:

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

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

                                            32

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.1k

                                            Posts