Sandbox Build (Read-Only)
Build and test in sandbox mode without modifying any files.
Purpose
- Verify build status without changes
- Explore build errors safely
- Test configurations
- Validate before making changes
Constraints
DO NOT modify any files in sandbox mode.
This skill is for observation and analysis only.
Workflow
1. Check Project Status
# Check for uncommitted changes
git status
# List modified files
git diff --name-only
2. Build Verification
# Attempt build
xcodebuild build \
-scheme MyApp \
-destination 'platform=iOS Simulator,name=iPhone 15' \
2>&1 | tee /tmp/build_output.txt
3. Test Verification
# Run tests without modifying
xcodebuild test \
-scheme MyApp \
-destination 'platform=iOS Simulator,name=iPhone 15' \
-resultBundlePath /tmp/TestResults.xcresult \
2>&1 | tee /tmp/test_output.txt
4. Analyze Results
Review build/test output and report:
- Build status (success/failure)
- Number of warnings
- Number of errors (with details)
- Test results summary
- Recommendations for fixes
5. Report Format
## Sandbox Build Report
### Build Status
- **Result**: Success / Failure
- **Warnings**: X
- **Errors**: Y
### Issues Found
1. [Issue description] - [file:line]
2. [Issue description] - [file:line]
### Test Results
- **Total**: X tests
- **Passed**: Y
- **Failed**: Z
### Recommendations
1. [Fix recommendation]
2. [Fix recommendation]
### Next Steps
[What the user should do to address issues]
Important
This skill does NOT:
- Edit any files
- Create any files
- Commit any changes
- Modify project settings
It ONLY:
- Reads files
- Runs builds
- Runs tests
- Reports findings