Usage

Dependencies

Examples

Building at scale

Commands

Contributors

Focus on targets

In large Xcode projects that contain many targets and schemes, Xcode can be slow indexing the project. Moreover, the build system, which needs to resolve implicit dependencies, might take longer to do so because there are more Xcode objects to analyze. This is not ideal for developers’ productivity and for that reason Tuist includes a command that allows users to focus on a specific target or set of targets.

tuist focus MyApp
Copy the content

The command generates and opens an Xcode workspace where the targets and schemes that are not directly related to MyApp are removed. Moreover, if the direct and transitive dependencies exist in the cache, Tuist replaces them with their pre-compiled version. Thanks to that developers can safely clean their Xcode environment because they’ll only be building the target they are focusing on.

Arguments

ArgumentShortDescriptionValuesDefaultRequired

--path

-p

Description:

The path to the directory that contains the manifest file.

-p

The path to the directory that contains the manifest file.

No

--no-open

-n

Description:

Don't open the project after generating it.

Default:

false

-n

Don't open the project after generating it.

false

No

--xcframeworks

-x

Description:

When passed it uses xcframeworks (simulator and device) from the cache instead of frameworks (only simulator).

Default:

false

-x

When passed it uses xcframeworks (simulator and device) from the cache instead of frameworks (only simulator).

false

No

--no-cache

Description:

Ignore cached targets, and use their sources instead.

Default:

false

Ignore cached targets, and use their sources instead.

false

No

By using this website, you agree to our cookie policy.