Skip to content

A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more. Approve from the notch or your Lock Screen.

ci: show Release build compiler errors as annotations

Claudebad187d96b43
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a78b463b..78822f15 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -115,13 +115,18 @@ jobs:
- name: Build
run: |
+ set -o pipefail
xcodebuild \
-project NotchBuddy/NotchBuddy.xcodeproj \
-scheme NotchBuddy \
-configuration Release \
build \
CODE_SIGNING_ALLOWED=NO \
- CODE_SIGNING_REQUIRED=NO
+ CODE_SIGNING_REQUIRED=NO 2>&1 | tee build.log || {
+ # Compiler errors as annotations, readable without downloading the log.
+ grep -E "error:" build.log | sort -u | head -30 | sed 's/^/::error::/'
+ exit 1
+ }
- name: Build App Store target (unsigned)
run: |