Tuist Workspace Navigator
Before invoking Apple-only binaries, confirm the execution context is macOS. From Windows or Linux, run those steps in a Mac SSH project or through an already configured remote transport; do not retry missing Apple binaries locally.
Use this skill for day-to-day development in projects where Tuist owns the
Xcode workspace.
Defaults
- Run generation non-interactively:
```bash
tuist generate --no-open
```
- Build and test with
xcodebuildagainst the generated workspace. - Regenerate after manifest, dependency, target graph, or resource layout
changes.
- Run
tuist installbefore generation when package dependencies changed.
Focused Generation
Prefer smaller generated graphs when working on one feature or target:
tuist generate AppFeature AppFeatureTests --no-open
tuist generate tag:feature:payments --no-open
Use tags already defined in the project's manifests.
Manifest Guidance
- Prefer file-system-synchronized buildable folders when the project uses them;
keep paths aligned with the real source tree.
- Do not overlap broad source/resource globs with buildable folders.
- Keep build configurations aligned between local targets and external
dependencies.
- Treat
.intentdefinitionas source and avoid double-including localization
files such as .xcstrings, .strings, and .stringsdict.
- Keep package product type overrides deliberate; making every dependency
dynamic can hide linker problems and hurt launch time.
Build
xcodebuild build \
-workspace App.xcworkspace \
-scheme App \
-destination "platform=iOS Simulator,name=<available iPhone simulator>,OS=latest"
Test
Prefer narrow xcodebuild test selectors for iteration:
xcodebuild test \
-workspace App.xcworkspace \
-scheme AppTests \
-only-testing AppTests/MySuite/testExample
If a narrow selector runs zero tests, broaden to the suite or target and report
that the selector did not match.
Troubleshooting
If generation, build, or launch fails, use the Tuist generation doctor.
Report the generated workspace path, scheme, command, and final build/test
result.