如何解决 iPhone 中出现的“Command /bin/sh failed with exit code 1”问题

94

我在我的应用程序中使用了一个cocoa静态库。当我编译我的库时,我遇到了以下错误:

Shell Script invocation error:can't open input file:
/Users/sijuthomas/Library/Developer/Xcode/DerivedData/SCXML2-
    bbttehupryhijphhjdiemcytkvgy/Build/Products/Debug-iphonesimulator/
    libSCXMLParser.a (No such file or directory)
Command /bin/sh failed with exit code 1

错误截图

我该如何修复这个问题?

21个回答

-1

删除所有 Pods 并重新安装。

步骤:

  1. 注释掉所有 Pods,然后运行 pod install
  2. 取消注释所有 Pods,然后再次运行 pod install

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接