I've recently picked up a project from another developer, who couldn't complete the project. The only problem I have, is that I can't get the project to build for the simulator, or for a device, through Xcode.

The error I'm getting is:

```
Failed to write out copy of document for diagnostics: Failed to write copy of document to path "(null)": Failed to write out copy of document because it has no file URL
Showing first 200 notices only

**Command /bin/sh failed with exit code 255**

```

Could anyone advise as to where to start looking to de-bug this build issue?

**Extra details:**
I'm running Xcode 6.0.1. In the 'Run Script' area of the 'Build Phases', there is a Shell (/bin/sh) script for Crashlytics.framework, which I haven't previously used.. Not sure if that helps.

**EDIT**

There are two Shells in the build phases. Crashlytics and pods:

```
Shell: /bin/sh

"${SRCROOT}/Pods/Pods-resources.sh"

```

and

```
Shell: /bin/sh

./Crashlytics.framework/run xxxxxxxxxxxxx

```