Tuist migration planner

From Xopoko/build-swift-apps · View interactive version

Tuist migration planner is an AI agent skill from the GitHub repository Xopoko/build-swift-apps. Plan Xcode-to-Tuist migrations for hand-maintained projects, including target, setting, and dependency mapping plus generated build, test, signing, and launch parity.

How to use this skill

Skill file

Tuist Migration Planner

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 move an existing Xcode project to Tuist without losing build,

test, signing, or runtime behavior.

Workflow

  1. Baseline the current Xcode project.
  2. Inventory targets, schemes, settings, scripts, resources, entitlements, and

dependencies.

  1. Create minimal Tuist manifests.
  2. Generate, build, and launch.
  3. Fix gaps iteratively and document every intentional divergence.

Baseline First

Capture a known-good command before writing manifests. For an iOS example, select one available simulator UDID and use it for both builds:

xcodebuild build \
  -project App.xcodeproj \
  -scheme App \
  -configuration Debug \
  -destination "platform=iOS Simulator,id=$UDID" \
  -derivedDataPath DerivedDataBaseline

Record the scheme, configuration, deployment targets, bundle identifiers,

Info.plist paths, entitlements, build scripts, and package graph.

Create Manifests

dependencies.

Keep the first generated graph close to the original project. Defer cleanup

until the generated workspace builds and launches.

Generate And Build

tuist install
tuist generate --no-open
xcodebuild build \
  -workspace App.xcworkspace \
  -scheme App \
  -configuration Debug \
  -destination "platform=iOS Simulator,id=$UDID" \
  -derivedDataPath DerivedDataTuist

Validate Runtime

xcrun simctl bootstatus "$UDID" -b &&
  xcrun simctl install "$UDID" DerivedDataTuist/Build/Products/Debug-iphonesimulator/App.app &&
  xcrun simctl launch --console-pty "$UDID" com.example.app

Run the same test plans or selectors on the original and generated projects. Compare which tests actually ran and their results.

Launch both builds and exercise the features that depend on resources or embedded frameworks. For signed distribution, compare the effective signing settings and entitlements, and run the project's existing archive/export workflow if in scope. Report which parity checks ran.

Common Fixes

into resources.

settings for app and extension targets.

Output

Return the migration status, files changed, unresolved parity gaps, and the

exact baseline and generated validation commands with results.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.