Skip to content

Latest commit

 

History

History
323 lines (248 loc) · 7.13 KB

File metadata and controls

323 lines (248 loc) · 7.13 KB

✅ Personal Fork Setup Complete

Date: 2025-10-09
Fork: https://github.com/carmandale/XcodeBuildMCP
Branch: personal/avp-enhancements


Setup Summary

Git Configuration ✅

  • Fork Created: https://github.com/carmandale/XcodeBuildMCP
  • Remote 'origin': Points to your fork (carmandale/XcodeBuildMCP)
  • Remote 'upstream': Points to original (cameroncooke/XcodeBuildMCP)
  • Personal Branch: personal/avp-enhancements (created and pushed)

Documentation System ✅

Created comprehensive documentation in docs/personal/:

  1. DALE_CHANGES.md - Master change log

    • Fork metadata and sync history
    • Current modifications tracking
    • Planned enhancements
    • Maintenance procedures
  2. AVP_ENHANCEMENTS.md - Enhancement planning

    • Priority-based feature tracking
    • Status indicators (💭 📋 🔄 ✅ ❌)
    • Upstream contribution decisions
    • Team collaboration guidelines
  3. TEAM_SETUP.md - Team installation guide

    • Installation instructions
    • Cursor configuration examples
    • Troubleshooting guides
    • Quick reference for AVP tools
  4. AVP_WORKFLOW_GUIDE.md - Complete AVP workflow

    • visionOS simulator workflows
    • Physical Vision Pro workflows
    • Log capture procedures
    • Tool quick reference

Cursor Configuration ✅

Updated ~/.cursor/mcp.json with dual-mode setup:

  • XcodeBuildMCP-Production (stable)

    • Uses npx xcodebuildmcp@latest
    • 61 tools (optimized workflows)
    • Privacy-focused (Sentry disabled)
  • XcodeBuildMCP-Dev (your fork)

    • Uses local build: build/index.js
    • 63 tools (includes project-scaffolding)
    • Debug mode enabled
    • All workflows enabled

Backup: ~/.cursor/mcp.json.backup-20251009

Build Verification ✅

All quality checks passed:

  • TypeCheck: 0 errors
  • Lint: Clean
  • Tests: 1151 passed, 3 skipped (89 test files)
  • Build: Successful
  • Tools: 63 available in dev mode
  • visionOS: Simulators detected

Next Steps

1. Restart Cursor (Required)

# Quit Cursor completely
cmd+Q

# Relaunch Cursor

2. Verify Installation

In Cursor, ask the AI:

"List available visionOS simulators"

Expected: Should show your Apple Vision Pro simulators

3. Test Log Capture (Your Critical Feature)

With your Vision Pro connected:

"Can you capture logs from my Vision Pro headset?"

What happens:

  • AI finds your Vision Pro (list_devices)
  • AI starts log capture (start_device_log_cap)
  • You reproduce issue on headset
  • AI retrieves logs (stop_device_log_cap)
  • AI analyzes and suggests fixes

No more copy-paste!

4. Create Test visionOS Project

In Xcode:

  1. File → New → Project
  2. Select visionOS → App
  3. Name: "VisionTestApp"
  4. Save to Desktop

Then ask Cursor:

"I have a visionOS project at ~/Desktop/VisionTestApp. Can you build it and run it on the booted Vision Pro simulator?"

Switching Between Modes

Use Production (Stable)

"Use the XcodeBuildMCP-Production server"
  • Uses published version (v1.14.1)
  • Stable and tested
  • 61 tools

Use Dev (Your Fork)

"Use the XcodeBuildMCP-Dev server"
  • Uses your local build
  • Includes your modifications
  • 63 tools (adds project-scaffolding)
  • Debug mode enabled

Making Changes

Before Any Commit

npm run typecheck  # Must pass
npm run lint       # Must pass
npm run test       # Must pass
npm run build      # Must compile

Commit Workflow

git add <files>
git commit -m "feat: your change description"
git push origin personal/avp-enhancements

Document Changes

Update docs/personal/DALE_CHANGES.md:

  • What changed
  • Why it changed
  • Files modified
  • Status and date

Syncing with Upstream

Monthly Sync (Recommended)

# Sync main branch
git checkout main
git fetch upstream
git pull upstream main
git push origin main

# Rebase your personal branch
git checkout personal/avp-enhancements
git rebase main

# Test and rebuild
npm install
npm run build
npm test

Update "Last Synced" in DALE_CHANGES.md


Quick Reference

Key Files

  • docs/personal/DALE_CHANGES.md - Change log
  • docs/personal/AVP_ENHANCEMENTS.md - Feature planning
  • docs/personal/TEAM_SETUP.md - Team guide
  • AVP_WORKFLOW_GUIDE.md - AVP workflows
  • ~/.cursor/mcp.json - Cursor config

Git Remotes

git remote -v
# origin → carmandale/XcodeBuildMCP (your fork)
# upstream → cameroncooke/XcodeBuildMCP (original)

Current Branch

git branch
# * personal/avp-enhancements

Tool Count

  • Production: 61 tools (optimized)
  • Dev: 63 tools (includes scaffolding)

Success Metrics

Git Configuration

  • Fork created and configured
  • Remotes set up correctly
  • Personal branch created and pushed

Documentation

  • 4 comprehensive documentation files
  • Change tracking system established
  • Team setup guide created
  • AVP workflow documented

Development Environment

  • Dual-mode Cursor configuration
  • Local build verified
  • All quality checks passing
  • visionOS support confirmed

Ready for Development

  • Can make and track changes
  • Can sync with upstream
  • Can switch between stable and dev
  • Can test AVP workflows

Troubleshooting

Cursor Doesn't Load MCP Server

  1. Verify you quit Cursor completely (cmd+Q)
  2. Check ~/.cursor/mcp.json syntax is valid
  3. Look for errors in Cursor's output panel
  4. Try production version first to isolate issues

Build Fails

npm install          # Reinstall dependencies
npm run build        # Rebuild
npm test             # Verify tests pass

Git Issues

git status           # Check current state
git remote -v        # Verify remotes
git branch           # Verify branch

Support

Documentation:

  • This file for setup reference
  • docs/personal/ for detailed documentation
  • AVP_WORKFLOW_GUIDE.md for AVP workflows

Upstream Issues:

Your Fork:

  • Track changes in DALE_CHANGES.md
  • Document enhancements in AVP_ENHANCEMENTS.md
  • Share with team via TEAM_SETUP.md

What You've Accomplished

🎉 You now have:

  1. ✅ Personal fork with full control
  2. ✅ Comprehensive documentation system
  3. ✅ Dual-mode Cursor setup (stable + dev)
  4. ✅ Ability to track and document changes
  5. ✅ Sync capability with upstream
  6. ✅ Team collaboration framework
  7. ✅ Complete AVP workflow documentation
  8. ✅ Foundation for future enhancements

Ready to:

  • Test complete AVP workflows
  • Make custom modifications
  • Track all changes
  • Share with your team
  • Contribute back to upstream (optional)
  • Stay synced with upstream updates

Delete This File When Done

This setup summary can be deleted once you've:

  • ✅ Restarted Cursor and verified it works
  • ✅ Tested AVP workflow successfully
  • ✅ Confirmed everything is working
  • ✅ Read and understand the documentation

All this information is preserved in docs/personal/ for future reference.


🚀 Setup complete! Restart Cursor and start building!