The error message indicated a problem during the build phase of the ios application. It became evident that the SwiftLint script, integral to the build process, was failing, causing the entire build to fail and display the “nonzero exit code” message.