Tuist
$ tuist Official Low RiskTuist (tuist/tuist) turns Swift manifests (Project.swift, Workspace.swift) into clean Xcode projects while offering binary caching, selective testing, and Tuist Cloud analytics (tuist generate, tuist install, tuist build, tuist test, tuist graph). Supports --path, --no-open, and --format json on dependency graph inspection.
brew install tuist/tuist/tuist tuist invokes local Swift compiler toolchains and xcodebuild on macOS to generate .xcodeproj files and run selective tests directly on the workspace.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Headless flags (--no-open, --path, --configuration) and tuist graph --format json work cleanly, though build/test wrap xcodebuild text output.
- Supports
tuist graph --format jsonfor structured graph inspection --no-openkeepstuist generateheadless
Generated .xcodeproj files are reproducible from Project.swift, and remote cache auth uses scoped TUIST_CONFIG_TOKEN.
- Local operations are easily reversible via
gitand manifest regeneration - Scoped
TUIST_CONFIG_TOKENfor CI cache access
Installable via brew install tuist/tuist/tuist or mise, strictly macOS-only due to Xcode/Swift toolchain requirements.
- macOS-only due to Xcode and
xcodebuilddependency
Eliminates .xcodeproj merge conflicts and dramatically speeds up modular Apple CI builds with binary caching and selective testing.
- Automates modular project generation, dependency resolution, caching, and selective
tuist test
Official Tuist repository (tuist/tuist) under MIT license with strong Apple ecosystem adoption.
- First-party
tuist/tuistrepository under MIT
Thorough documentation at docs.tuist.dev and consistent Swift ArgumentParser --help output.
- Official docs at docs.tuist.dev
Security, Auth & Guardrails
Local project generation works without auth; Tuist Cloud remote caching reads TUIST_CONFIG_TOKEN or local OAuth session credentials.
MIT open-source CLI; local generation and caching are free, while hosted Tuist Cloud cache/insights offer free and paid tiers.
# Tuist (tuist) Agent Rules - Always pass `--no-open` when running `tuist generate` in agent sessions so Xcode GUI does not pop up. - Use `tuist graph --format json` to inspect module dependencies before editing `Project.swift`. - Run `tuist install` before `tuist generate` if `Tuist/Package.swift` dependencies changed.
Agent-Ready Command Recipes
Safe Read-Only Queries
tuist graph --format json --path .
Outputs the modular target dependency graph in JSON without opening Xcode or editing files.
tuist test AppScheme --path .
Executes tests via Tuist while skipping modules unchanged since the last cached run.
Controlled Writes & Previews
tuist generate --no-open --path .
Generates .xcodeproj and .xcworkspace files from Project.swift without launching the Xcode GUI.
Strengths for Agents
- +
tuist graph --format jsongives agents exact visibility into modular iOS/macOS target dependencies. - +
--no-openand selective testing streamline headless Apple CI workflows.
Caveats & Pitfalls
- ! macOS-only;
tuist buildandtuist testforward verbosexcodebuildlogs rather than JSON. - ! Forgetting
--no-openontuist generatelaunches the Xcode GUI.