Failure of iOS Build Phase "Run Script" with "Unrecognized arguments"


8 days ago our iOS Builds started to fail when executing a “Run Script” with the following error:

bin/sh -c /Users/distiller/Library/Developer/Xcode/DerivedData/AppName-hkcsiqactntdaifazeptobxpflpz/Build/Intermediates/
Unrecognized arguments: “/Users/distiller/Library/Developer/Xcode/DerivedData/AppName-hkcsiqactntdaifazeptobxpflpz/Build/Intermediates/”
Command /bin/sh failed with exit code 1

It looks like the sh-call itself is broken in a way. Before it worked without any change on the script or Build Phase configuration (here an example of the fabric script):

/bin/sh -c /Users/distiller/Library/Developer/Xcode/DerivedData/AppName-hkcsiqactntdaifazeptobxpflpz/Build/Intermediates/
2016-02-08 16:36:40.584 uploadDSYM[979:7055] Fabric.framework/run 1.4.0

Does anyone have an idea?


The error came from a new Carthage version that was pulled during the circleci run and wasn´t installed locally. With this Carthage version the Run Script part changed.