Run and debug cross-platform (Flutter/CMP) iOS apps from Windows or Linux - no Xcode, no macOS
Build, run, and hot-reload Flutter iOS apps natively from Windows or Linux.
No Mac. No Xcode. No WSL.
Watch the demo • Install • Quick start • Wi-Fi • Commands • IDE • FAQ • Under the hood
xcross reimplements the Flutter iOS build pipeline and the iOS 17+ CoreDevice launch protocol in pure Dart. It compiles your Flutter app with the official Swift and LLVM toolchains, signs it with your Apple ID or an App Store Connect API key, installs it on a physical iPhone, launches it, and gives you full hot reload - all from a Windows or Linux machine.
| Feature | Details |
|---|---|
| Native Windows & Linux | Runs directly on the host with official Swift and LLVM toolchains - no VM, no WSL, no macOS anywhere |
| Hot reload & hot restart | Full r / R workflow on a real iPhone over an iOS 17+ RSD tunnel |
| Native signing & install | Apple ID (free account works) or App Store Connect API key; signing runs in-process |
| USB and Wi-Fi devices | Pair wirelessly over a trusted USB connection, or directly from Paired Devices on iOS 27+ |
| SwiftPM plugins | Swift Package Manager iOS plugins compile on both Windows and Linux |
| IDE debugging | One command sets up VS Code (F5, breakpoints, DevTools) or JetBrains IDEs via DAP |
| Direct build pipeline | frontend_server → clang → ld64.lld → .app / .ipa - no Xcode build system involved |
[!IMPORTANT] xcross builds debug (JIT) device and simulator apps, and profile/release (AOT) device apps. Launching with xcross requires iOS 17 or later on the device.
Both platforms need the same five ingredients:
| Requirement | Purpose |
|---|---|
| Flutter | Your app's SDK; xcross reuses its engine artifacts |
| Swift toolchain 6.4 or newer (on macOS, the Swift paired with your Xcode) | Compiles SwiftPM plugins and runner glue code |
LLVM (clang, clang++, llvm-ar, ld64.lld on PATH) | Compiles and links the iOS Mach-O binaries |
Python 3 + pymobiledevice3 | Device communication and the iOS 17+ RSD tunnel |
A complete Xcode.xip (xcodereleases.com) | Processed once by xcross sdk install into a private Darwin Swift SDK |
[!IMPORTANT] Install the Swift toolchain before running
xcross setuporxcross sdk install. xcross never installs Swift for you on any host, and both commands refuse to run without it.
xcross sdk installpatches the Darwin SDK with the selected Swift toolchain's clang headers and records which toolchain that was. The resulting SDK is only usable by that toolchain, so changing Swift afterwards (swiftly use,mise use, a distro upgrade) means re-runningxcross sdk install. Pick your Swift version first and stay on it.
[!NOTE] Download the Xcode archive from xcodereleases.com (requires an Apple ID). It is only used as SDK input - neither Xcode nor macOS is ever installed or executed. xcross extracts the iOS SDK and frameworks from the archive with its own pure-Dart xar/pbzx/cpio readers. Don't redistribute the extracted Apple SDK.
Both installers download the latest release, install it, add xcross to your PATH, verify the binary, and print any missing prerequisites with install hints.
One-line install (PowerShell). It picks the native x64 or ARM64 build, even when run from an emulated x64 PowerShell on Windows on ARM:
irm https://raw.githubusercontent.com/arxdeus/xcross/main/install.ps1 | iex
Install Flutter, then let xcross install everything else:
xcross setup
This runs the setup script for your package manager from the xcross release you installed: winget.ps1, scoop.ps1, or choco.ps1. If several are installed, xcross asks which one to use. If none is, it runs direct.ps1, which downloads the vendor installers itself. Pick one explicitly with xcross setup --manager winget|scoop|choco|direct. xcross first prints the script's name, source URL, and SHA-256 and waits for y. The script then asks before each package: Visual Studio Build Tools (MSVC + Windows SDK, which Swift links against), Swift, LLVM (its bin goes on your PATH), and Python 3. Then it installs pymobiledevice3. Installers that need elevation raise their own UAC prompt. xcross setup --yes accepts every prompt.
winget.ps1 | scoop.ps1 | choco.ps1 | direct.ps1 | |
|---|---|---|---|---|
| VS Build Tools | Microsoft.VisualStudio.2022.BuildTools | vendor installer¹ | visualstudio2022buildtools | vendor installer¹ |
| Swift |
Assets.car generated by xcross 2.1.3 causes App Store Connect validation and app icon issues — working workaround available
https://github.com/arxdeus/xcross/issues/191
Labels: None
No Kotlin Multiplatform native ios app support.
https://github.com/arxdeus/xcross/issues/189
Labels: bug
Generated Compose runner traps on iOS 27 without scene lifecycle
https://github.com/arxdeus/xcross/issues/184
Labels: None
Windows 11 Smart App Control blocks xcross.exe
https://github.com/arxdeus/xcross/issues/174
Labels: bug
It's possible to use xcross for signing shorebird?
https://github.com/arxdeus/xcross/issues/164
Labels: enhancement, help wanted, good first issue
xcross config validate could warn when a PATH override shadows the system clang/lld that xcross flutter doctor selected
https://github.com/arxdeus/xcross/issues/150
Labels: enhancement
No CONTRIBUTING document was found. Please check the README and open issues.