Skip to content

Add XCSharedData support for breakpoints and workspace settings#39

Merged
EvanBacon merged 1 commit intomainfrom
xcode-tree-3
Feb 27, 2026
Merged

Add XCSharedData support for breakpoints and workspace settings#39
EvanBacon merged 1 commit intomainfrom
xcode-tree-3

Conversation

@EvanBacon
Copy link
Owner

Summary

  • Adds unified XCSharedData API for accessing xcshareddata directories
  • Implements breakpoints module for parsing/writing Breakpoints_v2.xcbkptlist files
  • Implements settings module for parsing/writing WorkspaceSettings.xcsettings files
  • Integrates with XcodeProject and XCWorkspace via getSharedData() method

Test plan

  • All 35 new tests pass (bun test breakpoints.test.ts settings.test.ts XCSharedData.test.ts)
  • TypeScript compiles successfully (bun run build)
  • Round-trip parsing verified for breakpoints and settings
  • Documentation added to README

🤖 Generated with Claude Code

Implements unified access to xcshareddata directories containing:
- Breakpoints (Breakpoints_v2.xcbkptlist) - file, symbolic, exception breakpoints
- Workspace settings (WorkspaceSettings.xcsettings) - build system, derived data, previews
- Integration with existing scheme support

New modules:
- src/breakpoints/ - XML parser/writer for breakpoint lists
- src/settings/ - Plist parser/writer for workspace settings
- src/api/XCSharedData.ts - High-level API unifying schemes, breakpoints, settings

Adds getSharedData() method to XcodeProject and XCWorkspace for easy access.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@EvanBacon EvanBacon merged commit 2772ecb into main Feb 27, 2026
1 check passed
@EvanBacon EvanBacon deleted the xcode-tree-3 branch February 27, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant