---
name: build
description: Build BrewBar with xcodebuild in Debug configuration and report any compiler errors or warnings.
disable-model-invocation: false
---

Build the BrewBar project using xcodebuild with the Debug configuration.

Run the following command from the project root:

```
xcodebuild \
  -project BrewBar.xcodeproj \
  -scheme BrewBar \
  -configuration Debug \
  -destination "platform=macOS" \
  build \
  2>&1
```

After running:
1. If the build succeeds, report "Build succeeded" and note any warnings.
2. If it fails, show the relevant error lines (not the full raw output), explain what each error means, and suggest a fix if the cause is clear.

This is a zero-dependency project (no SPM, CocoaPods, or Carthage), so no package resolution step is needed.
