xcbeautify
$ xcbeautify Community Low Riskxcbeautify reads raw xcodebuild output from stdin (or log files) and formats compiler warnings, errors, and test summaries cleanly. Its --quiet / --quieter flags drastically cut context-token waste from verbose Apple build logs, though it does not emit JSON.
brew install xcbeautify xcbeautify is a local Unix pipe filter for xcodebuild stdout/stderr streams; MCP is inapplicable.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Stateless stdin filter supporting --quiet, --quieter, --is-ci, and --renderer github-actions, though lacks --json output.
--quietand--is-cisuppress verbose compile lines and ANSI noise- Outputs condensed text without
--json
Strictly read-only stream formatter with zero filesystem or network side effects; note that shell pipes mask xcodebuild exit codes unless pipefail is set.
- Pure read-only stdin/stdout filter
Fast zero-dependency Swift binary via brew install xcbeautify, scoped to macOS Xcode workflows.
- macOS-focused binary via Homebrew and GitHub releases
Saves huge numbers of context tokens by collapsing multi-thousand-line xcodebuild output into actionable errors and test counts.
- Replaces legacy Ruby
xcprettywith fast native Swift parsing
Actively maintained community tool (cpisciotta/xcbeautify) under MIT license.
- Maintained at
cpisciotta/xcbeautify
Concise README and --help covering flags and CI renderer modes.
- Clear README and
--helpoutput
Security, Auth & Guardrails
No authentication or state storage required; operates purely as a stateless stream formatter.
MIT open-source CLI; free to use.
# xcbeautify Agent Rules - Always use `set -o pipefail` when piping `xcodebuild ... | xcbeautify` so build failures are not masked. - Pass `--quiet --is-ci` to avoid flooding context windows with raw `clang`/`swiftc` lines.
Agent-Ready Command Recipes
Safe Read-Only Queries
xcbeautify --quiet --is-ci < build.log
Filters a captured xcodebuild log down to concise warnings, errors, and test results.
set -o pipefail && xcodebuild test -scheme App | xcbeautify --quiet --is-ci
Streams condensed build/test diagnostics while preserving xcodebuild's non-zero exit code.
Strengths for Agents
- +
--quietand--quieterdramatically shrinkxcodebuildlogs for LLM context windows. - + Fast native Swift binary with zero Ruby runtime dependencies (unlike
xcpretty). - + Supports CI-aware
--renderermodes (github-actions,teamcity,azure-devops-pipelines).
Caveats & Pitfalls
- ! Does not emit
--jsonstructured build diagnostics. - ! Piping
xcodebuild | xcbeautifyhides build failures unlessset -o pipefailis enabled.