lukeredpath/xcodebuild-rb — Issue #2: Failing script phases, while archiving, do not fail the task.
Author: alloy
Created: 2012-02-02 13:57:08+00:00
State: open

When a script build phase fails during normal builds, the output reflects that with: `BUILD FAILED`. However, if you run the same scheme, but archive instead of a normal build, the output will **not** reflect the failing script phase:

```
** ARCHIVE SUCCEEDED **

The following build commands failed:
PhaseScriptExecution "Run Script" DerivedData/FailingExampleProject/ArchiveIntermediates/FailingExampleProject/IntermediateBuildFilesPath/FailingExampleProject.build/Release-iphoneos/FailingExampleProject.build/Script-51CEAC3F14DAC95400C8B410.sh
(1 failure)
```

(This output is from a simple [sample](https://github.com/Fingertips/xcodebuild-rb/tree/failing-example) I added to the repo.)