# Build Failed: Command CodeSign failed with a nonzero exit code

**URL:** <https://forum.juce.com/t/build-failed-command-codesign-failed-with-a-nonzero-exit-code/59647>\
**Category:** MacOSX and iOS\
**Created:** [January 23, 2024, 7:12pm UTC](https://forum.juce.com/t/build-failed-command-codesign-failed-with-a-nonzero-exit-code/59647 "2024-01-23T19:12:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alessandrazamora11](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alessandrazamora11/32/17725_2.png) [@alessandrazamora11](https://forum.juce.com/u/alessandrazamora11)\
**Post date:** [January 23, 2024, 7:12pm UTC](https://forum.juce.com/t/build-failed-command-codesign-failed-with-a-nonzero-exit-code/59647/1 "2024-01-23T19:12:56Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [January 24, 2024, 10:48am UTC](https://forum.juce.com/t/build-failed-command-codesign-failed-with-a-nonzero-exit-code/59647/2 "2024-01-24T10:48:02Z")

</div>

> [@alessandrazamora11](#):
>
> resource fork, Finder information, or similar detritus not allowed

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.

---

<div class="post-metadata">

**Author:** ![alessandrazamora11](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alessandrazamora11/32/17725_2.png) [@alessandrazamora11](https://forum.juce.com/u/alessandrazamora11)\
**Post date:** [January 26, 2024, 6:15pm UTC](https://forum.juce.com/t/build-failed-command-codesign-failed-with-a-nonzero-exit-code/59647/3 "2024-01-26T18:15:09Z")

</div>

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”
