Tuist is a tool that will create, build, and maintain Xcode project files. It is built on top of XcodeProj.
Be sure to check out the following official resources:
- Docs
- DocC: Documentation
- tuist sample projects (fixtures)
- Tuist - YouTube
- Blog - Tuist
- Join Tuist on Slack | Slack
- tuist/tuist · Discussions · GitHub
Tuist 4
Tuist migrated from 3 to 4 in 2024-01. Release announcement: Unveiling Tuist 4 and Tuist Cloud - Tuist
Migration Guide (docs): From v3 to v4 | Tuist
Cheat Sheet
CLI Commands
v4 name | pre-v4 name | |
---|---|---|
tuist generate | same | This command reads the manifest files, generates the Xcode projects and workspace, writes it to the disk, and opens it in Xcode. |
tuist build | same | generate the project if needed, and then build it with the xcodebuild command-line tool. |
tuist test | same | generate the project if needed, and then run the tests with the xcodebuild command-line tool. |
tuist run | same | (iOS only) generates the project if needed, then compiles it with xcodebuild , and launches the built artifact from the derived data directory in the specified simulator. |
tuist graph | same | export and visualize the graph of dependencies |
tuist clean | same | Tuist relies on project-scoped and global caches to speed up some of its workflows. If for any reason you want to clean these caches, you can use the tuist clean command. |
tuist install | tuist fetch | Download and install your remote dependencies. |
tuist cache | tuist cache warm | Tell tuist to cache your current binaries. This way the next time you build, it can simply reuse those binaries instead of rebuilding them. |
tuist scaffold | same | generate files, you can generate files from a template. You can define your own templates or use the ones that are vendored with Tuist. See Templates in Tuist |
tuist edit | same | You could edit these files using any text editor, but we recommend to use Tuist-provided workflow for that, tuist edit . The workflow creates an Xcode project that contains all manifest files and allows you to edit and compile them. Thanks to using Xcode, you get all the benefits of code completion, syntax highlighting, and error checking.: See Editing | Tuist |
tuist generate | tuist focus | tuist focus is now a part of tuist generate . You can call tuist generate <TargetName1> [<TargetName2> ...] |