GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - tuist/XcodeGraph: ፨ A Swift Package with data structures to model Xcode workspaces and projects

This repository was archived by the owner on Feb 26, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

1,006 Commits
1,006 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.mise/tasks
.mise/tasks
 
 
Sources
Sources
 
 
Tests
Tests
 
 
.all-contributorsrc
.all-contributorsrc
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.mise.toml
.mise.toml
 
 
.swiftformat
.swiftformat
 
 
.swiftlint.yml
.swiftlint.yml
 
 
AGENTS.md
AGENTS.md
 
 
BREAKME.md
BREAKME.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
LICENSE.md
LICENSE.md
 
 
Package.resolved
Package.resolved
 
 
Package.swift
Package.swift
 
 
README.md
README.md
 
 
RELEASE.md
RELEASE.md
 
 
cliff.toml
cliff.toml
 
 
renovate.json
renovate.json
 
 

Repository files navigation

፨ XcodeGraph

All Contributors

XcodeGraph is a Swift Package that contains data structures to model an Xcode projects graph. It was initially developed as part of Tuist and extracted to be Tuist-agnostic.

Important

This package has been merged into the tuist/tuist monorepo.

Installation

To install XcodeGraph, you can add it to your project or package's Package.swift:

let package = Package(
    dependencies: [
        .package(url: "https://github.com/tuist/XcodeGraph.git", .upToNextMajor(from: "0.7.0")),
    ],
)

XcodeGraphMapper

  • Documentation

XcodeGraphMapper parses .xcworkspace or .xcodeproj files using XcodeProj and constructs a XcodeGraph.Graph representing their projects, targets, and dependencies:

Usage

import XcodeGraphMapper
let mapper: XcodeGraphMapping = XcodeGraphMapper()
let path = try AbsolutePath(validating: "/path/to/MyProjectOrWorkspace")
let graph = try await mapper.map(at: path)
// You now have a Graph containing projects, targets, packages, and dependencies.*
// Example: print all target names across all projects*
for project in graph.projects.values {
    for (targetName, _) in project.targets {
        print("Found target: \(targetName)")
    }
}

Once you have the Graph, you can explore or transform it as needed—printing targets, analyzing dependencies, generating reports, or integrating into other build tools.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Dariusz Rybicki
Dariusz Rybicki

💻
Binlogo
Binlogo

💻
Filip Racki
Filip Racki

💻
Gabriel Liévano
Gabriel Liévano

💻
Giovanni Filaferro
Giovanni Filaferro

💻
Anton Kolchunov
Anton Kolchunov

💻
Alex Maimescu
Alex Maimescu

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

About

፨ A Swift Package with data structures to model Xcode workspaces and projects

xcodegraph.tuist.dev/documentation/xcodegraph/

Resources

Readme
MIT license

Code of conduct

Code of conduct
Activity
Custom properties

Stars

101 stars

Watchers

3 watching

Forks

39 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.