xtool is a cross-platform command-line tool that builds and deploys iOS apps with Swift Package Manager on Linux, Windows, and macOS. It can sign apps and talk to Apple Developer Services.
Overview
xtool targets developers who want Xcode-like workflows using open standards outside a Mac-only toolchain. It runs on Linux, WSL, macOS, and Windows and focuses on SwiftPM-based iOS projects.
From the command line you can build a SwiftPM package into an iOS app, sign and install apps on devices, and interact with Apple Developer Services programmatically. Documentation covers installation per OS and a tutorial for a first app on Linux or Windows.
The same project is also consumable as a Swift Package dependency so other apps can use libraries such as XKit or XToolSupport for device and developer-service access. The CLI aims for semver stability; the Swift API does not guarantee the same compatibility.
Beta releases add hot reloading, building Xcode projects, and compiling macOS apps, with feedback requested on those features.
Key features
- Build SwiftPM packages into iOS apps
- Sign and install iOS applications
- Apple Developer Services API access
- Swift Package library components
- Linux and Windows iOS development path
- Documented installation per platform
Use cases
- Building iOS apps on Linux or Windows
- CI pipelines without full Xcode GUI
- Programmatic app signing and install
- Integrating Apple services via Swift libraries