how to fix the issue "Command /bin/sh failed with exit code 1" in iphone

Ben10 picture Ben10 · Oct 22, 2012 · Viewed 165.7k times · Source

I used a cocoa static library in my application. When I compile my library I got the following error:

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

Screenshot for error

How can I fix this?

Answer

Harshad picture Harshad · Mar 23, 2015

 Target -> Build-Phases -> update examples

Click On Run checkbox if not selected.