Build Failed: Command CodeSign failed with a nonzero exit code

I am new to C++ and have a University project with JUCE. I have downloaded it and created a simple Audio Project with CodeX, however, when I try to build it, I get the following:

AudioProj/Builds/MacOSX/build/Debug/AudioProj.app: resource fork, Finder information, or similar detritus not allowed

Command CodeSign failed with a nonzero exit code

Does anyone know how to fix this?

1 Like

Is your JUCE folder or your AudioProj folder in a location that’s backed up by iCloud, Dropbox, or some other similar service? If so, I’d recommend re-downloading JUCE to a new location that’s not backed up, and additionally recreating your AudioProj project at a location that’s not backed up.

Sometimes backup services add extra metadata to files as they’re created, which can trip up code-signing in the way you’ve described.

1 Like

It’s in my applications folder, I have done the reinstalling once again, but I still get the error “Command CodeSign failed with a nonzero exit code”