Overview
Thetuist run command runs a preview, app specifier, or scheme from a Tuist-generated project. It provides a convenient way to launch apps without opening Xcode.
Usage
Options
string
default:"."
The path to the directory that contains the project with the target or scheme to be run.
string
Short form of
--path.string
The device name to run on (e.g., “iPhone 15 Pro”).
boolean
default:"false"
Force the generation of the project before running.
boolean
default:"false"
Clean the project before running.
string
The configuration to be used when building the scheme (e.g., Debug, Release).
string
Short form of
--configuration.string
The OS version of the simulator.
string
Short form of
--os.boolean
default:"false"
Append arch=x86_64 to the destination to run the simulator in Rosetta mode.
Arguments
string
required
One of:
- A preview URL (e.g.,
https://preview.tuist.dev/...) - An app specifier (e.g.,
App@latestorApp@feature-branch) - A scheme name from your generated project (macOS only)
string[]
Arguments to pass to the application during execution. All arguments after the runnable are forwarded to the app.
Examples
Run by scheme name (macOS)
MyApp scheme from your generated project.
Run with app specifier
Run with branch specifier
feature-branch.
Run preview URL
Run on specific device
Run with generation
Run with configuration
Run with app arguments
--verbose and --config debug to the app.
Run with specific OS version
Run in Rosetta mode
Runnable types
Scheme name (macOS only)
Run a scheme from your generated Tuist project:App specifier
Run an app using an identifier and version/branch:Preview URL
Run an app from a preview link:App arguments
Pass arguments to your app by adding them after the runnable:-- are forwarded to the app’s launch arguments.
Requirements
- For preview URLs and app specifiers: Tuist account and authentication (
tuist auth) - For scheme names: Generated Xcode project
- macOS with Xcode installed