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
I had the same problem it is solved. One of my pods (in my case was ICETutorial) were casing problems because of its xib files. When I removed this pod the app worked fine. Also you may need to uninstall pods and install them again; also update them for iOS8 support.
Try to check each pod in your app; I guess one of them casing this problem.
Hope this will help you.
Thanks
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With