| name | build |
| description | Build forager with the correct Xcode configuration. Uses iPhone 17 Pro simulator. Filters output for errors and warnings. TRIGGER when the user says "build it", "build the app", "run a build", "compile", "does it build", "rebuild", "try building", "does it compile", or any request to build or compile the project. |
Build Forager
Build the project with the correct configuration.
Build Command
Run the build script (executes without loading source into context):
.claude/skills/build/scripts/build.sh /Users/rich/Development/forager
Or run directly:
xcodebuild -project forager.xcodeproj -scheme forager -destination 'platform=iOS Simulator,name=iPhone 17 Pro' build 2>&1 | grep -E "BUILD|error:|warning:" | head -30
Configuration
- Simulator: iPhone 17 Pro (not iPhone 16 Pro — it's unavailable)
- Scheme: forager
- iOS target: 26+
- CloudKit: DISABLED in DEBUG, ENABLED in Release
On Build Failure
If the build fails:
- Read the full error output
- Check if it's a compilation error, dependency error, or configuration error
- For >5 consecutive build errors, stop and reassess approach (quality gate)
On Build Success
Report:
- BUILD SUCCEEDED
- Number of warnings (if any)
- Build time
Notes
- The
-quiet flag suppresses output; avoid it when debugging
CURRENT_PROJECT_VERSION is managed by the user — never modify build numbers