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
The path to the directory that contains the project with the target or scheme to be run.
Short form of
--path.The device name to run on (e.g., “iPhone 15 Pro”).
Force the generation of the project before running.
Clean the project before running.
The configuration to be used when building the scheme (e.g., Debug, Release).
Short form of
--configuration.The OS version of the simulator.
Short form of
--os.Append arch=x86_64 to the destination to run the simulator in Rosetta mode.
Arguments
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)
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