Use `set -o pipefail` for xcodebuild + xcpretty