Fail early if xcodebuild fails

@jpsim @alazier