[xcode] Build fails with "Command failed with a nonzero exit code"