Skip to content
xcross
Documentation menu

Darwin SDK

Turn an Xcode.xip into a private iOS SDK, once, without installing Xcode or macOS.

iOS headers and frameworks only ship inside Xcode. xcross reads them straight out of the archive, once.

Xcode.xipfrom xcodereleases.com
xar → pbzx → cpiopure-Dart readers
Darwin SDK bundlesysroot + frameworks
Swift + LLVMbuild for iOS

Install

xcross sdk install C:\Downloads\Xcode.xip

Runs once per Xcode archive and is shared by Flutter and Compose builds. Re-running replaces the old SDK. On macOS you can point it at an installed Xcode.app instead of a .xip.

xcross sdk clean   # remove the SDK and any leftover backup or staging copies

ImportantThe SDK is patched for your current Swift toolchain. Change Swift, re-run sdk install. Xcode 27 SDKs need Swift 6.4+ on Linux and Windows, and sdk install checks this before the long extraction.

Where it lives

HostPath
Windows%APPDATA%\xcross\swift-sdks\xcross-darwin.artifactbundle
Linux~/.config/xcross/swift-sdks/xcross-darwin.artifactbundle

WarningUse a full Xcode.xip, not Command Line Tools. Never redistribute the extracted SDK.

ESC