# Xtool cross‑platform Xcode replacement

> Build and install iPhone apps without Xcode, on any computer.

- **What it does:** Lets you build, sign, and install iPhone apps from Linux, Windows, or Mac without needing Xcode. You write your app in Swift and end up with it running on your device.
- **Agents:** Claude Code and Codex (through orbit-connect), Claude and ChatGPT (through the Orbit connector)
- **Install:** `npx -y --loglevel=error orbit-connect@0.3.33 install skl_6165c7ee0513cba19a7a07e8`
- **Creator:** @zack.s.t.a on Instagram
- **Reach:** Creators' posts about it have 2,766 views
- **Safety:** Checked by Orbit: nothing risky found in what it runs or reads
- **Installs:** 4
- **Last updated:** 2026-11-14
- **Page:** https://orbitinbox.app/s/xtool-cross-platform-xcode-replacement

## Skill

---
name: xtool-ios-builds-without-xcode
description: Use when building, signing, or installing iOS apps without Xcode on Linux or Windows: xtool SwiftPM workflow, CLI subcommands, and device install steps.
---

# xtool: iOS builds without Xcode

## What this does
Guides the agent through xtool, a cross-platform (Linux/WSL/macOS) Xcode replacement that builds a SwiftPM package into an iOS app, signs it, and installs it on a device.

## When to use
- The user wants to build, sign, or install an iOS app but has no Mac or Xcode.
- The user asks about xtool subcommands, setup, auth, the Darwin Swift SDK, devices, or the XKit Swift package.

## How to run it
1. Confirm the platform (Linux/WSL/macOS) and have them install `xtool` with the creator's guide:
   - Installation (Linux/Windows): https://xtool.sh/documentation/xtooldocs/installation-linux
   - Installation (macOS): https://xtool.sh/documentation/xtooldocs/installation-macos
2. Run the configuration subcommands in order: `setup` to set up xtool for iOS development, `auth` to manage Apple Developer Services authentication, `sdk` to manage the Darwin Swift SDK.
3. Create a new project with `new`, then build and run it with `dev`.
4. Point them at the first-app tutorial: https://xtool.sh/tutorials/xtooldocs/first-app
5. To deploy: `devices` to list devices, `install` an ipa file, `launch` an installed app, `uninstall` to remove one.
6. For Apple Developer Services automation, use the `ds` subcommand, or consume the library (XKit or XToolSupport) from their own Swift code.

## Reference: CLI surface (from the creator's `xtool --help`)
```bash
$ xtool --help
OVERVIEW: Cross-platform Xcode replacement

USAGE: xtool <subcommand>

OPTIONS:
  -h, --help              Show help information.

CONFIGURATION SUBCOMMANDS:
  setup                   Set up xtool for iOS development
  auth                    Manage Apple Developer Services authentication
  sdk                     Manage the Darwin Swift SDK

DEVELOPMENT SUBCOMMANDS:
  new                     Create a new xtool SwiftPM project
  dev                     Build and run an xtool SwiftPM project
  ds                      Interact with Apple Developer Services

DEVICE SUBCOMMANDS:
  devices                 List devices
  install                 Install an ipa file to your device
  uninstall               Uninstall an installed app
  launch                  Launch an installed app
```
Use `xtool help <subcommand>` for detailed help.

## Reference: xtool as a Swift package
```swift
// package dependency:
.package(url: "https://github.com/xtool-org/xtool", .upToNextMinor(from: "1.2.0"))
// target dependency:
.product(name: "XKit", package: "xtool")
```
Creator's caveat: semver applies to the CLI interface (breaking change = major version bump), but the Swift interface offers no such guarantees.

## Output
Hand back: the platform detected, the exact commands to run or already run, the build/sign/install result, any device or error output, and the single next command the user should run.

Credit: Based on public content by zack.s.t.a, packaged by Orbit.

Shared by @zack.s.t.a, credited on Orbit.