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.
    • 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
                            • d.healeyD
                              d.healey @orange
                              last edited by

                              @orange I believe you can enable it during notarization but doing it during compilation makes xcode go funky.

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

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

                                OK, So I'm getting this too now on :

                                HISE 14th Feb build
                                MacOS Mojave
                                Intel chip
                                XCode 10.2.1

                                ..I will go set the flag... but I think it probably needs doing as a default...

                                HISE Development for hire.
                                www.channelrobot.com

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

                                  @lindon said in Ad Hoc Code Sign Error OSX:

                                  but I think it probably needs doing as a default...

                                  Yes I agree @Matt_SF can you make a pull request for this?

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

                                  DanHD 1 Reply Last reply Reply Quote 1
                                  • orangeO
                                    orange @d.healey
                                    last edited by orange

                                    @d-healey Apple says:

                                    "To upload a macOS app to be notarized, you must enable the Hardened Runtime capability."
                                    

                                    You can also read these:

                                    Link Preview Image
                                    Notarizing macOS software before distribution | Apple Developer Documentation

                                    Give users even more confidence in your macOS software by submitting it to Apple for notarization.

                                    favicon

                                    Apple Developer Documentation (developer.apple.com)

                                    Link Preview Image
                                    Hardened Runtime | Apple Developer Documentation

                                    Manage security protections and resource access for your macOS apps.

                                    favicon

                                    Apple Developer Documentation (developer.apple.com)

                                    @danh said in Ad Hoc Code Sign Error OSX:

                                    @matt_sf just tested. Making the changes you suggested works and notarizes ok.

                                    Have you checked it on the computers of the other users? Does it pass the notarization in these computers too?

                                    Also since it works, for now, it doesn't mean that you won't get any errors in the forthcoming macOS versions or on the other users. Because Apple suggests using the Hardened Runtime enabled.

                                    develop Branch / XCode 13.1
                                    macOS Monterey / M1 Max

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

                                      @orange I might be wrong but isn't it the case that you can't notarize a component / vst. You notarize the .pkg that you supply them in.

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

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

                                        @d-healey said in Ad Hoc Code Sign Error OSX:

                                        can you make a pull request for this?

                                        I'd perhaps urge caution - on Big Sur my other machine didn't have an issue, so this could potentially break on more recent versions of osx.

                                        In fact why don't I test that 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
                                        • orangeO
                                          orange @DanH
                                          last edited by orange

                                          @danh said in Ad Hoc Code Sign Error OSX:

                                          @orange I might be wrong but isn't it the case that you can't notarize a component / vst. You notarize the .pkg that you supply them in.

                                          The Hardened Runtime requirement is for the executables mainly. So standalone apps (exported from the Hise) will definately need it. But I believe that it could be needed for the plugins too.

                                          develop Branch / XCode 13.1
                                          macOS Monterey / M1 Max

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

                                            @orange You don't need to do it through XCode. If you codesign via the command line (which is what my app does) you can use --options runtime to enable the hardened runtime during signing.

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

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

                                            22

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.1k

                                            Posts