Tuist Generation Doctor
SkillDev toolsDiagnose Tuist generation, build, and launch failures when `tuist generate`, generated Xcode workspaces, or apps fail or diverge from the source project.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Tuist Generation Doctor skill
What this skill tells your AI
The instructions your AI receives, as published by xopoko/build-swift-apps in skills/tuist-generation-doctor/SKILL.md and read by ahel’s review.
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 to determine whether a Tuist-generated workspace problem is a project configuration issue, a dependency wiring issue, or a Tuist bug.
Triage Route
- Classify the failure stage:
- generation:
tuist generateortuist install - build: generated
.xcworkspaceexists butxcodebuildfails - runtime: app builds but crashes or behaves incorrectly
- generation:
- Capture the exact command, Tuist version, Xcode version, platform, scheme, and relevant manifest snippets.
- Reproduce on the local project first. If the issue is broad or suspicious,
retry with the latest Tuist release through
mise. - Reduce to a minimal reproduction before filing or fixing a Tuist-level bug.
Commands
tuist version
mise exec tuist@latest -- tuist install --path "$PROJECT_DIR"
mise exec tuist@latest -- tuist generate --no-open --path "$PROJECT_DIR"
For build-stage failures:
xcodebuild build \
-workspace "$PROJECT_DIR"/*.xcworkspace \
-scheme "$SCHEME" \
-destination "platform=iOS Simulator,name=<available iPhone simulator>,OS=latest" \
-derivedDataPath "$PROJECT_DIR/DerivedData"
For runtime-stage failures, launch the generated app:
xcrun simctl boot "<available simulator name or UDID>" 2>/dev/null || true
xcrun simctl install booted "$APP_PATH"
xcrun simctl launch --console-pty booted "$BUNDLE_ID"
Common Causes
- Missing
tuist installbefore generation. - Source/resource globs that omit files or include Swift files as resources.
- Package product type mismatches: static vs dynamic frameworks/libraries.
- Missing SDK dependencies, entitlements, Info.plist values, or resource bundles.
- Objective-C categories stripped from static dependencies; verify
-ObjCor targeted-force_load. - Generated workspace drift after manifest edits; regenerate before judging.
When It Looks Like A Tuist Bug
Clone Tuist only after you have a small reproduction:
TUIST_SRC="$(mktemp -d)"
git clone --depth 1 https://github.com/tuist/tuist.git "$TUIST_SRC"
cd "$TUIST_SRC"
swift build --product tuist --product ProjectDescription --replace-scm-with-registry
"$TUIST_SRC/.build/debug/tuist" generate --no-open --path "$REPRO_DIR"
If the reproduction fails on Tuist main, report:
- minimal reproduction archive
- failing command and output
- Tuist/Xcode/macOS versions
- whether generation, build, or runtime fails
- what local configuration causes were ruled out
Output
Return the failure stage, root cause, exact fix or next command, and proof from the latest generation/build/launch attempt.
Signals
- GitHub stars
- 45
- Forks
- 4
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
tuist-generation-doctor- Source
- github.com/xopoko/build-swift-apps