SDKs for cross-compiling Darwin code on Linux.
Prerequisites:
Steps:
unxip
to extract Xcode if you're on Linux../build.sh <linux host> [developer dir]
.
ubuntu22.04-aarch64
.Xcode.app/Contents/Developer
. On macOS, you can omit this argument to let the script infer it.Find the output at output/darwin.artifactbundle
.
Prerequisites:
darwin.artifactbundle
built for your host OS (see Building)swift experimental-sdk install output/darwin.artifactbundle
swift build --experimental-swift-sdk arm64-apple-ios