Hive
tuist graph doesn’t work with tags
GitHub issue · Open
What happened?
I assumed that I could use tags to specify targets just like you can with generate. But tuist graph tag:some-tag ends up generating an empty/blank graph.
How do we reproduce it?
On any tuist project that has tags, run tuist graph tag:your-tag and notice that the graph is blank
Error log
(no error)
macOS version
15.6.1
Tuist version
4.99.0
Xcode version
26.0.1
Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.
Start a Flight and preserve its objective, outcome, and session here.
The tuist graph command doesn’t support filtering by tags—only by explicit target names, platform, and a few other options. When you run tuist graph tag:some-tag, it treats tag:some-tag as a literal target name, so if no target has that name, the graph is empty. Tag-based filtering is only supported in commands like tuist generate or tuist focus docs.
If you want to visualize a subset of the graph based on tags, you’ll need to manually extract the target names with the desired tag (for example, by searching your manifest files or scripting it), then pass those names to tuist graph, like tuist graph TargetA TargetB. There’s currently no built-in way to pass tags directly to tuist graph code.
To reply, just mention @dosu.
Share context across your team and agents. Try Dosu.