xtool
SHA-256A cross-platform Xcode replacement that builds, signs, and deploys iOS apps with SwiftPM on Linux, Windows, and macOS, all from the terminal.
Smart Download
Download Download Version
v1.22.2 · 54 MB
Build, sign, and install iOS apps from Linux, Windows, or macOS—no Mac required.
Core Features
- Build SwiftPM packages into iOS apps (IPA) without a Mac
- Code-sign and install apps to iPhone/iPad from the terminal
- Manage Apple Developer Services (auth, certificates, devices) via CLI
- Runs on Linux, Windows (WSL), and macOS
- Includes the XKit library for programmatic access from your own tools
What It Can't Do
- •An Apple Developer account is required for signing, and apps signed with a free account expire after 7 days. xtool is not a full Xcode replacement—there is no Interface Builder, iOS simulator, or SwiftUI previews. First-time setup (SDK install, authentication) involves several steps. App Store submission and advanced workflows are limited, so verify final releases with Apple's official tooling.
Use Cases
- Develop and deploy iOS apps on Linux or Windows without owning a Mac
- Build and sign iOS apps in Linux CI pipelines where Xcode is unavailable
- Use editors like VS Code instead of the Xcode IDE for Swift iOS development
xtool is an open-source, cross-platform replacement for Xcode that lets developers build, sign, and install iOS apps using Swift Package Manager on Linux, Windows (WSL), and macOS. Its CLI covers the whole workflow: project scaffolding (xtool new), building and running on a device (xtool dev), Apple Developer Services authentication, SDK management, and device operations like install, uninstall, and launch. It also ships XKit, a Swift library for programmatically talking to Apple Developer Services and iOS devices from your own tools. Compared with Xcode, xtool removes the hard Mac requirement and a multi-gigabyte IDE download; compared with Fastlane, which still shells out to Xcode, xtool is self-contained and works natively in Linux CI pipelines. It is ideal for terminal-first developers, VS Code users, and teams that want reproducible iOS builds on non-Apple hardware.
Tags
Getting Started
Download installer
Click the button above to download the installer for your system
Install the software
Install the appropriate package for your distro (dpkg / rpm / AppImage)
Install xtool by following the official guide for Linux/Windows (WSL) or macOS
Run xtool setup to prepare the iOS development environment and Darwin Swift SDK
Run xtool auth to sign in with your Apple Developer account
- Install xtool by following the official guide for Linux/Windows (WSL) or macOS
- Run xtool setup to prepare the iOS development environment and Darwin Swift SDK
- Run xtool auth to sign in with your Apple Developer account
SHA-256 checksum verified
Checksum extracted from GitHub official Release page
SHA256 Checksum
a9a9bc765a31527a16298a2b7d782b239e9c535e2931292a95f9940c31bc7faeThis checksum is extracted from the GitHub Release page. Verify file integrity after download.
All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.
Open Source Transparency
View GitHub SourceUninstall Info
Delete the xtool executable and its configuration directory (e.g., ~/.xtool). If it was installed via an installer script or package manager, use the corresponding removal command.
No Extra Dependencies
Ready to use after download. No additional runtime required.
Having issues? Check the FAQ below
5 FAQs
Similar Projects
Visual Studio Code (Code - OSS)
A free, open-source code editor by Microsoft with rich extensions, debugging, and Git integration. The most popular developer tool worldwide.
opencode
OpenCode is a free, open-source AI coding agent that helps you write, refactor, and understand code. It offers two built-in modes: a full-access 'build' agent for active coding and a read-only 'plan' agent for safe exploration.
scrcpy
Display and control your Android device from your computer via USB or TCP/IP. No root required, high performance, low latency, supports audio and video mirroring.