我最近接手了一个其他开发者没能完成的项目。我唯一的问题是,我无法通过Xcode在模拟器或设备上构建该项目。
我遇到的错误是:
我遇到的错误是:
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**
请问有人能指导一下如何开始查找并解决这个构建问题吗?
额外的细节: 我正在运行Xcode 6.0.1。在“Build Phases”的“Run Script”区域中,有一个Shell (/bin/sh)脚本用于Crashlytics.framework,这是我以前没有使用过的..不确定是否有帮助。
编辑
在构建阶段中有两个Shell。 Crashlytics和pods:
Shell: /bin/sh
"${SRCROOT}/Pods/Pods-resources.sh"
并且
Shell: /bin/sh
./Crashlytics.framework/run xxxxxxxxxxxxx