Forum
    • Categories
    • Register
    • Login

    Command CodeSign failed with nonzero exit code

    Scheduled Pinned Locked Moved Bug Reports
    13 Posts 2 Posters 24 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.
    • J
      Jimi_Jay
      last edited by

      I am trying to build hise on my macbook pro 14" m3 2023 with tahoe 26.3.1 and it won't build, failing each time with this error "Command CodeSign failed with nonzero exit code"

      here are the transcripts for the error code :

      Showing All Errors Only
      Prepare build
      Prepare packages
      Build target HISE Standalone - App
      CodeSign /Users/jay/Documents/HISE/projects/standalone/Builds/MacOSX/build/Debug/HISE\ Debug.app (in target 'HISE Standalone - App' from project 'HISE Standalone')
      cd /Users/jay/Documents/HISE/projects/standalone/Builds/MacOSX

      Signing Identity:     "Sign to Run Locally"
      
      /usr/bin/codesign --force --sign - --entitlements /Users/jay/Library/Developer/Xcode/DerivedData/HISE_Standalone-cnktsjmvoartasbasfwshrpxxybp/Build/Intermediates.noindex/HISE\ Standalone.build/Debug/HISE\ Standalone\ -\ App.build/HISE\ Debug.app.xcent --timestamp\=none --generate-entitlement-der /Users/jay/Documents/HISE/projects/standalone/Builds/MacOSX/build/Debug/HISE\ Debug.app
      

      /Users/jay/Documents/HISE/projects/standalone/Builds/MacOSX/build/Debug/HISE Debug.app: resource fork, Finder information, or similar detritus not allowed
      Command CodeSign failed with a nonzero exit code

      Command CodeSign failed with a nonzero exit code

      Activity Log Complete 03/04/2026, 11:53 42.0 seconds

      I signed in my icloud account on xcode and I am not using faust, but could not find the login option on projucer when I was following a video I found on how to build hise. Also, on projucer, the codesign entry under debug and release is empty. Is there a solution to this problem ? I haven't been ale to find one on my own...

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @Jimi_Jay
        last edited by

        @Jimi_Jay Could you tell me the exact steps you're taking to get to the point where you see the error? You don't need to be logged in to JUCE or xcode.

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        J 1 Reply Last reply Reply Quote 0
        • J
          Jimi_Jay @David Healey
          last edited by

          @David-Healey I followed every step but didn't download the same version of xcode as my os is more recent than the one in the video so I just downloaded the latest stable release from the website linked in the description. Then I went to build the standalone version. I dragged it onto the projucer window and clicked the don't ask again button on the 2 popups in projucer. Then I unchecked the auto check new versions option. This is where I couldn't follow the instructions, I don't have the sign in optioin under file in the projucer top menu, so I couldn't find the enable gpl mode button. Then I disabled the show juce splash screen option. I then selected the arm64 option as I have an apple M3 processor. I then opened it in xcode, clicked on edit scheme and selected debug, pressed play and it came up with the error I pasted previously. I'm thinking it might be linked to the gpl mode not being enabled but I don't know, just guessing... I'm really uneducated on this type of stuff, especially on macos, so any help is more than welcome!

          David HealeyD 1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey @Jimi_Jay
            last edited by

            @Jimi_Jay Try an older version of xcode

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            J 1 Reply Last reply Reply Quote 0
            • J
              Jimi_Jay @David Healey
              last edited by

              @David-Healey what version should I try ? the same one you used in your video ?

              David HealeyD 1 Reply Last reply Reply Quote 0
              • David HealeyD
                David Healey @Jimi_Jay
                last edited by

                @Jimi_Jay said in Command CodeSign failed with nonzero exit code:

                the same one you used in your video ?

                If that version if available for your OS then yes. If not just go one version down from the one you've currently installed - things often break between versions.

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                J 2 Replies Last reply Reply Quote 0
                • J
                  Jimi_Jay @David Healey
                  last edited by

                  @David-Healey Alright, I'll try that and let you know. Thanks

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jimi_Jay @David Healey
                    last edited by

                    @David-Healey I tried downloading the version you used but it won't work because it is too old, so I tried the previous version to the one I was using and it doesn't work... I think in your video you said the gpl mode makes it so you don't need to sign in, I can't find the gpl mode option and I can't find the sign in option either... Could it be because of that ?

                    David HealeyD 1 Reply Last reply Reply Quote 0
                    • David HealeyD
                      David Healey @Jimi_Jay
                      last edited by

                      @Jimi_Jay said in Command CodeSign failed with nonzero exit code:

                      makes it so you don't need to sign in

                      That's the sign in within Projucer, it is unrelated to codesigning.

                      Do you see this in the top right corner of Projucer?

                      5517063a-28a4-40f5-8b05-00f40660c255-image.png

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - Public HISE tutorials
                      My Patreon - HISE tutorials

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Jimi_Jay @David Healey
                        last edited by Jimi_Jay

                        @David-Healey Yeah, I just saw this, gpl is enabled. I tried deleting the hise directory and its contents and deleting xcode and projucer and starting the process from 0 again but downloading the previous version of xcode and it came back with this error log :

                        Showing All Errors Only

                        Build target HISE Standalone - App of project HISE Standalone with configuration Debug

                        CodeSign /Users/jay/Documents/HISE/projects/standalone/Builds/MacOSX/build/Debug/HISE\ Debug.app (in target 'HISE Standalone - App' from project 'HISE Standalone')
                        cd /Users/jay/Documents/HISE/projects/standalone/Builds/MacOSX

                        Signing Identity:     "Sign to Run Locally"
                        
                        /usr/bin/codesign --force --sign - --entitlements /Users/jay/Library/Developer/Xcode/DerivedData/HISE_Standalone-cnktsjmvoartasbasfwshrpxxybp/Build/Intermediates.noindex/HISE\ Standalone.build/Debug/HISE\ Standalone\ -\ App.build/HISE\ Debug.app.xcent --timestamp\=none --generate-entitlement-der /Users/jay/Documents/HISE/projects/standalone/Builds/MacOSX/build/Debug/HISE\ Debug.app
                        

                        /Users/jay/Documents/HISE/projects/standalone/Builds/MacOSX/build/Debug/HISE Debug.app: resource fork, Finder information, or similar detritus not allowed
                        Command CodeSign failed with a nonzero exit code

                        Command CodeSign failed with a nonzero exit code

                        Build failed 03/04/2026, 16:03 49.6 seconds

                        Same error message but idk if something is different now in the log I copied...

                        David HealeyD 1 Reply Last reply Reply Quote 0
                        • David HealeyD
                          David Healey @Jimi_Jay
                          last edited by

                          @Jimi_Jay said in Command CodeSign failed with nonzero exit code:

                          Yeah, I found that

                          Good, that means GPL mode is already enabled.

                          @Jimi_Jay said in Command CodeSign failed with nonzero exit code:

                          Command CodeSign failed with a nonzero exit code

                          There shouldn't be any codesigning steps in the debug configuration. Are you sure you're building the debug and not the CI?

                          Free HISE Bootcamp Full Course for beginners.
                          YouTube Channel - Public HISE tutorials
                          My Patreon - HISE tutorials

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            Jimi_Jay @David Healey
                            last edited by

                            @David-Healey I think so, I took a screenshot.Screenshot 2026-04-03 at 16.11.14.png

                            David HealeyD 1 Reply Last reply Reply Quote 0
                            • David HealeyD
                              David Healey @Jimi_Jay
                              last edited by

                              @Jimi_Jay It looks correct to me. Did you download the HISE source code through git?

                              Free HISE Bootcamp Full Course for beginners.
                              YouTube Channel - Public HISE tutorials
                              My Patreon - HISE tutorials

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

                              27

                              Online

                              2.2k

                              Users

                              13.6k

                              Topics

                              117.9k

                              Posts