Command CodeSign failed with nonzero exit code
-
@Jimi_Jay Hmm at this stage I'd start trying different commits until I found one that builds. But that's not the easiest thing if you're not familiar working with git. It would be good if someone else chimed in with a working ARM macOS setup and could give some pointers.
You also might want to try the new setup tool: https://setup.hise.dev/
-
@David-Healey Does this setup tool work ? Because I already downloaded hise last year with a different macbook and not with git but it then wouldn't let me export the projects because it didn't find projucer even though I downloaded it to where they said it needed to be... I'll try anyway but yeah. It's weird that the versions of hise that are released on github don't work properly...
-
@Jimi_Jay I haven't tried it but other people have said it works. It basically gives you a script to run that does all of the steps you've been doing manually. It's unrelated to the prebuilt version of HISE you've downloaded in the past.
-
@David-Healey I followed all the instructions on the hise setup wizard and it failed aswell :
The following build commands failed:
CodeSign /Users/jay/Documents/HISE/projects/standalone/Builds/MacOSX/build/Release/HISE.app (in target 'HISE Standalone - App' from project 'HISE Standalone')
(1 failure)
[ERROR] HISE compilation failedThis is very frustrating that I can't seem to get anything to work properly...
-
@David-Healey Is there something I can do to prevent the signing of the app ? It seems to be the problem every way I try to download hise...
-
@Jimi_Jay Have you tried signing out of xcode?
-
@David-Healey I just tried and it didn't work either. I'll try again using git now that I've signed out but I don't think it will work as I think I hadn't signed in the first time I tried and it didn't work, I only signed in afterwards to see if that changed something.
-
@Jimi_Jay Have a poke around in xcode's settings and see if there is anything codesigning related stuff.
-
@David-Healey Tried it again without being signed in on xcode and it didn't work. Tried to find codesigning related settings and couldn't find anything... I really don't know what to do
-
@David-Healey Nevermind, I found the settings for codesigning and before you used to be able to select don't code sign in code signing identity but now you need to select other and then leave it blanc, it now seems to work! I'll watch the end of your video now to see how to install the release version, it might be mentionned in the video but do you delete the debug version once you have the release version ?
Thanks for your time and help anyway, I'm happy it ended up working! -
@Jimi_Jay said in Command CodeSign failed with nonzero exit code:
Nevermind, I found the settings for codesigning
Excellent, could you post a screen shot or instructions on how to find that setting, to help other people who may stumble across this thread in the future?
@Jimi_Jay said in Command CodeSign failed with nonzero exit code:
might be mentionned in the video but do you delete the debug version once you have the release version ?
Yes, cleaning the build folder removes the previous build.
-
@David-Healey Absolutely
Here's how I found the code singing setting :-
In xcode click onto the project (blue icon)

-
then go into Build Settings

-
search for "code sign" in the search bar (top right)
-
click on the option for code signing identity

-select other

-
delete the dash and press enter
And that should do the trick !
-