Skip to content

kabiroberai/swift-sdk-darwin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swift-sdk-darwin

SDKs for cross-compiling Darwin code on Linux.

Building

Prerequisites:

Steps:

  1. Download and install/extract Xcode 16.0 or higher
    • Use unxip to extract Xcode if you're on Linux.
  2. Run ./build.sh [developer dir].
    • developer dir: this should be the path to Xcode.app/Contents/Developer. On macOS, you can omit this argument (or pass auto) to let the script infer it.

Find the output at output/darwin-linux-$(arch).artifactbundle.

Installing

Prerequisites:

swift sdk install output/darwin-linux-$(arch).artifactbundle

Usage

swift build --swift-sdk arm64-apple-ios

About

Darwin Swift SDK for Linux (experimental)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages