CocoaPods构建错误

时间:2014-07-28 11:17:43

标签: ios cocoapods

我正在使用CocoaPods创建一个新的iOS项目,但一直遇到构建错误。

PhaseScriptExecution Check\ Pods\ Manifest.lock /Users/.../Library/Developer/Xcode/DerivedData/CustomerApp-gicarwczuupvbxarirfljoeveuoc/Build/Intermediates/CustomerApp.build/Debug-iphonesimulator/CustomerApp.build/Script-EBA9FF40759E4567A8222C4B.sh
cd /Users/.../Documents/CustomerApp
/bin/sh -c /Users/.../Library/Developer/Xcode/DerivedData/CustomerApp-gicarwczuupvbxarirfljoeveuoc/Build/Intermediates/CustomerApp.build/Debug-iphonesimulator/CustomerApp.build/Script-EBA9FF40759E4567A8222C4B.sh

Command /bin/sh failed with exit code 2

我已经检查了

  • PodsFile.lock和Manifest.lock并且它们完全相同
  • PodsFile.lock和Manifest.lock有-rw-r - r- permission
  • 已在xCode Build Settings
  • 中设置了PODS_ROOT
  • Project Debug已设置为Pods for Debug和Release

我还尝试重新创建测试项目,删除并刷新PodFile和Pod目录,但没有成功。

(显然)如果我删除与CocoaPods相关的构建阶段,那么该项目将成功构建:-s

xCode 5.1 CocoaPods 0.33.1

0 个答案:

没有答案