# xcpretty/xcpretty

Flexible and fast xcodebuild formatter

Repository: https://github.com/xcpretty/xcpretty
Canonical: https://ross.abutalabs.com/products/xcpretty
Language: Ruby
License: NOASSERTION
License Family: other
Topics: ios, ci, continuous-integration
Last push: 2025-03-26T19:42:24+00:00

## Health v2 (maintenance only)
Score: 38/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 13, release rhythm 35, longevity 100
- inputs: {"age_days": 4651, "days_push": 525, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4036, forks 283 (observed 2026-08-28T04:08:32.893904+00:00)

## What it is
xcpretty is a fast, flexible command-line formatter for xcodebuild output, written in Ruby and distributed as a gem. It pipes raw xcodebuild logs into clean, colorized terminal output and can generate JUnit, HTML, and JSON compilation database reports for CI systems.

## Use cases
- make xcodebuild output readable in the terminal
- pretty print iOS build logs
- generate JUnit XML reports from xcodebuild for Jenkins or TeamCity
- show TAP-compatible test results from iOS builds
- save the raw xcodebuild log with tee while displaying formatted output
- reduce noisy build output in CI pipelines

## When to choose
- You build iOS or macOS apps with xcodebuild and want human-readable console output
- You run xcodebuild on CI (Travis, Jenkins, TeamCity) and need structured test reports
- You want custom formatting via its formatter extension API

## When to avoid
- You don't use xcodebuild, e.g. Android/Gradle or non-Apple build systems
- You need a build system or Xcode replacement rather than output formatting
- You rely on xcodebuild's native result bundles or xcbeautify-style structured output instead

## Facets
- artifact type: cli-tool
- maturity: stable
- function: formatter, logging, cli, ci-cd, testing
- domain: developer-tools, mobile-development, testing
- platform: cli, ruby
- tags: xcodebuild, ios, xcode, build-output-formatting, junit-reports, tap, ansi-color, continuous-integration, ruby-gem, log-parsing, command-line, devops, macos

## Member repositories
- xcpretty/xcpretty (main) score 38

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:32.893904+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:48.067258+00:00, confidence not recorded.
  - readme: https://github.com/xcpretty/xcpretty (fetched 2026-08-28T04:08:32.893904+00:00, sha ebc35f947cdd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
