xctriage reads a failed Xcode build log and tells you the likely cause and a fix to try.
A sample is loaded. Edit it or pick another. It runs in your browser and nothing is uploaded.
Each rule is a pattern for one kind of failure, and the strongest match names the cause.
| Category | Weight | Pattern | Summary |
|---|
Needs macOS 14 or later with Swift 6. The first block runs it on a sample log from the repo.
Build from source and triage the sample compile failure
git clone https://github.com/gerardrecinto/xctriage.git cd xctriage swift build -c release .build/release/xctriage analyze \ Tests/XCTriageKitTests/Fixtures/xcodebuild_compile_failure.log \ --source xcodebuild
Or use the release binary (arm64 macOS) on your own log
curl -L https://github.com/gerardrecinto/xctriage/releases/latest/download/xctriage-macos.zip -o xctriage.zip unzip xctriage.zip ./xctriage analyze xcbuild.log --source xcodebuild
Add --llm for the Claude fallback. It needs your own XCTRIAGE_ANTHROPIC_API_KEY; this page never calls it. swift test runs the suite.
Rules and confidence. The score is how strong the best matching rule is, not a chance of being right.
--llm fallback applies.Flaky tracking. The tool remembers which tests fail on and off, so you can spot the unreliable ones.
Xcode result files (xcresult). Xcode can save a test run as one bundle, and the tool can read it. Both need the real tool on a Mac, so neither runs on this page.