This error message means that a script that Xcode was running to build your project failed. The exit code of a script is an integer that indicates whether the script succeeded or failed. A nonzero exit code means that the script failed.