refactoring _didWithFail: to avoid warnings while submitting binary to Apple with Xcode5