Skip to content

Commit 7eb5e9b

Browse files
author
Kohki Miki
authored
Remove GraphViz feature (#1485)
* Remove GraphViz to pass build on Xcode 16 * Update documentations
1 parent f51719c commit 7eb5e9b

7 files changed

Lines changed: 2 additions & 206 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Next Version
44

5+
- Removed `xcodegen dump --type graphviz` feature. @giginet
6+
57
## 2.41.0
68

79
### Added

Package.resolved

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ let package = Package(
1919
.package(url: "https://github.com/tuist/XcodeProj.git", exact: "8.13.0"),
2020
.package(url: "https://github.com/jakeheis/SwiftCLI.git", from: "6.0.3"),
2121
.package(url: "https://github.com/mxcl/Version", from: "2.0.0"),
22-
.package(url: "https://github.com/SwiftDocOrg/GraphViz.git", exact: "0.2.0"),
2322
.package(url: "https://github.com/freddi-kit/ArtifactBundleGen", exact: "0.0.6")
2423
],
2524
targets: [
@@ -41,7 +40,6 @@ let package = Package(
4140
"XcodeProj",
4241
"PathKit",
4342
"XcodeGenCore",
44-
"GraphViz",
4543
], resources: [
4644
.copy("SettingPresets")
4745
]),

README.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ The project spec is a YAML or JSON file that defines your targets, configuration
3535
- ✅ Distribute your spec amongst multiple files for easy **sharing** and overriding
3636
- ✅ Easily create **multi-platform** frameworks
3737
- ✅ Integrate **Carthage** frameworks without any work
38-
- ✅ Export **Dependency Diagrams** to view in [Graphviz](https://www.graphviz.org)
3938

4039
Given an example project spec:
4140

@@ -138,27 +137,6 @@ Options:
138137

139138
There are other commands as well such as `xcodegen dump` which lets one output the resolved spec in many different formats, or write it to a file. Use `xcodegen help` to see more detailed usage information.
140139

141-
## Dependency Diagrams
142-
<details>
143-
<summary>Click to expand!</summary>
144-
145-
#### How to export dependency diagrams:
146-
147-
To stdout:
148-
149-
```
150-
xcodegen dump --type graphviz
151-
```
152-
153-
To a file:
154-
155-
```
156-
xcodegen dump --type graphviz --file Graph.viz
157-
```
158-
159-
During implementation, `graphviz` formatting was validated using [GraphvizOnline](https://dreampuf.github.io/GraphvizOnline/), [WebGraphviz](http://www.webgraphviz.com), and [Graphviz on MacOS](https://graphviz.org).
160-
</details>
161-
162140
## Editing
163141
```shell
164142
git clone https://github.com/yonaskolb/XcodeGen.git

Sources/XcodeGenCLI/Commands/DumpCommand.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ class DumpCommand: ProjectCommand {
4141
output = try Yams.dump(object: project.toJSONDictionary())
4242
case .summary:
4343
output = project.debugDescription
44-
case .graphviz:
45-
output = GraphVizGenerator().generateModuleGraphViz(targets: project.targets)
4644
}
4745

4846
if let file = file {
@@ -61,7 +59,6 @@ private enum DumpType: String, ConvertibleFromString, CaseIterable {
6159
case parsedJSON = "parsed-json"
6260
case parsedYaml = "parsed-yaml"
6361
case summary
64-
case graphviz
6562

6663
static var defaultValue: DumpType { .yaml }
6764
}

Sources/XcodeGenKit/GraphVizGenerator.swift

Lines changed: 0 additions & 66 deletions
This file was deleted.

Tests/XcodeGenKitTests/GraphVizGeneratorTests.swift

Lines changed: 0 additions & 104 deletions
This file was deleted.

0 commit comments

Comments
 (0)