Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Explains how to build, configure, and deploy iOS apps and app extensions with the xtool Xcode-free SwiftPM toolchain.
Use this skill ↓32% 91%+59 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 7 of 22 without it.
3 of 3 safety checks passed
Not used yet
xtool is a cross-platform Xcode replacement for building iOS apps with SwiftPM on Linux, Windows, and macOS. It is NOT XcodeGen, Tuist, or Xcode project files.
| xtool Uses | NOT These |
|---|---|
xtool.yml | project.yml, Project.swift |
Package.swift (SwiftPM) | Xcode project files |
xtool dev | xtool build, xtool run, xtool generate |
Sources/ directory | Extensions/ directory |
MyApp/
├── Package.swift # SwiftPM package definition
├── xtool.yml # xtool configuration
├── Sources/
│ ├── MyApp/ # Main app target
│ │ ├── MyAppApp.swift
│ │ └── ContentView.swift
│ └── MyWidget/ # Extension target (if any)
│ └── Widget.swift
├── MyApp-Info.plist # Optional custom Info.plist
└── MyWidget-Info.plist # Required for extensions
# Project lifecycle
xtool new MyApp # Create new project
xtool new MyApp --skip-setup # Create without running setup
xtool dev # Build + run (same as `xtool dev run`)
xtool dev build # Build only
xtool dev build --ipa # Build IPA file
Next to this one in the catalogue, plus more from the same author.