X

xtool

SHA-256
9.8k stars·Developer Tools·SHA-256 checksum verified

A 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

iOS 开发Swift跨平台Xcode 替代命令行工具

Getting Started

1

Download installer

Click the button above to download the installer for your system

2

Install the software

Install the appropriate package for your distro (dpkg / rpm / AppImage)

3

Install xtool by following the official guide for Linux/Windows (WSL) or macOS

4

Run xtool setup to prepare the iOS development environment and Darwin Swift SDK

5

Run xtool auth to sign in with your Apple Developer account

Install Guide
  1. Install xtool by following the official guide for Linux/Windows (WSL) or macOS
  2. Run xtool setup to prepare the iOS development environment and Darwin Swift SDK
  3. Run xtool auth to sign in with your Apple Developer account
File Integrity

SHA-256 checksum verified

Checksum extracted from GitHub official Release page

SHA256 Checksum

a9a9bc765a31527a16298a2b7d782b239e9c535e2931292a95f9940c31bc7fae

This 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 Source
Environment Guide

Uninstall 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.

Project Info
LicenseMIT
Last Updated2026-10-26 17:21:56
GitHub RepositoryOfficial Website

Having issues? Check the FAQ below

5 FAQs

Similar Projects