exit(1) if xcodebuild exits with error

I've just added a feature, not implemented yet.