fix(ci): surface real xcodebuild errors on App target failure #170

Merged
KofTwentyTwo merged 1 commits from fix/ci-app-build-error-visibility into develop 2026-05-13 14:36:11 +00:00
1 Commits
Author SHA1 Message Date
james.maesandClaude Opus 4.7 5d53d926e0 fix(ci): surface real xcodebuild errors on App target failure
The previous `-quiet 2>&1 | tail -5` collapsed every diagnostic into
`** BUILD FAILED **`, leaving App target failures (e.g., the
unhandled-resource error fixed in #169) effectively undebuggable from
CI logs alone — we had to repro locally. Capture xcodebuild output to a
tempfile instead; on success print only the tail (preserving current
quietness), on failure print every `error:` / `fatal error:` line plus
the last 80 lines of output for context.

Local behaviour on a passing build is unchanged.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-13 09:28:53 -05:00