Search code examples
iosswiftxcodebuildgoogle-fabric

PhaseScriptExecution failed with a nonzero exit code + Fabric


When I try to build my app it fails with above error. what would I have to do ? I appreciate any help :)

the scripts is

"${PODS_ROOT}/Fabric/upload-symbols" -gsp "${PROJECT_DIR}/GoogleService-Info.plist" -p ios "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"

Solution

  • I removed the script from run scripts in build phases, then built my app, and re added my script.

    cleaning project (ie. removing build folder from Xcode/DerivedData) has caused this error, I suppose.