Skip to content

feat(cli): vendor XcodeGraph into tuist and reconcile dependency graphs#9616

Merged
pepicrft merged 5 commits intomainfrom
chore/merge-xcodegraph-main-packages
Feb 26, 2026
Merged

feat(cli): vendor XcodeGraph into tuist and reconcile dependency graphs#9616
pepicrft merged 5 commits intomainfrom
chore/merge-xcodegraph-main-packages

Conversation

@pepicrft
Copy link
Copy Markdown
Contributor

@pepicrft pepicrft commented Feb 26, 2026

Summary

This PR embeds XcodeGraph in this repository and updates Tuist to consume it as a local package.

Important

The motivation is to eliminate friction when iterating on Tuist. We believed there was value in extracting this piece, but Tuist is the main consumer of this package today.

Changes

  • Moved XcodeGraph package content into cli/Sources/XcodeGraph.
  • Updated root Package.swift to use .package(path: "cli/Sources/XcodeGraph").
  • Wired local products XcodeGraph, XcodeMetadata, and XcodeGraphMapper.
  • Reconciled shared dependency minimums and updated Package.resolved.
  • Updated AGENTS.md references for the new location.

Validation

  • swift package resolve --replace-scm-with-registry
  • tuist install
  • swift build --replace-scm-with-registry
  • tuist generate --no-open
  • tuist graph --format json --no-open

@pepicrft pepicrft changed the title chore(cli): align package constraints with XcodeGraph main chore(cli): merge XcodeGraph main (1.34.5) and reconcile package graph Feb 26, 2026
@pepicrft pepicrft closed this Feb 26, 2026
@pepicrft pepicrft force-pushed the chore/merge-xcodegraph-main-packages branch from 20a3163 to e5526c1 Compare February 26, 2026 16:16
@pepicrft pepicrft changed the title chore(cli): merge XcodeGraph main (1.34.5) and reconcile package graph feat(cli): vendor XcodeGraph into tuist and reconcile dependency graphs Feb 26, 2026
@pepicrft pepicrft reopened this Feb 26, 2026
@pepicrft pepicrft self-assigned this Feb 26, 2026
@pepicrft pepicrft marked this pull request as ready for review February 26, 2026 17:16
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. type:enhancement New feature or request labels Feb 26, 2026
@dosubot
Copy link
Copy Markdown

dosubot bot commented Feb 26, 2026

Related Documentation

Checked 1 published document(s) in 1 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

Copy link
Copy Markdown
Member

@fortmarek fortmarek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't gone through the code, but otherwise, aligned with this change. XcodeGraph was bringing too much friction without enough benefits.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 26, 2026
@tuist
Copy link
Copy Markdown

tuist bot commented Feb 26, 2026

🛠️ Tuist Run Report 🛠️

Previews 📦

App Commit Open on device
Tuist 268279b51

Tests 🧪

Scheme Status Cache hit rate Tests Skipped Ran Commit
TuistApp 80 % 25 0 25 268279b51
TuistUnitTests 80 % 2322 0 2322 268279b51

Builds 🔨

Scheme Status Duration Commit
TuistApp 3m 5s 268279b51
TuistAutomationAcceptanceTests 9m 50s 268279b51
TuistCacheEEAcceptanceTests 3m 15s 268279b51
TuistDependenciesAcceptanceTests 1m 47s 268279b51
TuistGeneratorAcceptanceTests 2m 19s 268279b51
TuistKitAcceptanceTests 2m 36s 268279b51
TuistUnitTests 1m 54s 268279b51

Bundles 🧰

Bundle Commit Install size Download size
Tuist 268279b51
27.1 MB
Δ -141.7 KB (-0.52%)
18.7 MB
Δ -87.3 KB (-0.47%)

@pepicrft pepicrft merged commit 38a3ab6 into main Feb 26, 2026
18 of 21 checks passed
@pepicrft pepicrft deleted the chore/merge-xcodegraph-main-packages branch February 26, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:XXL This PR changes 1000+ lines, ignoring generated files. type:enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants