Skip to content
This organization was marked as archived by an administrator on Nov 19, 2026. It is no longer maintained.
@xwift-org

Xwift Org

Write once. Run everything. A cross-platform toolchain for the Swift language, built on upstream Swift and LLVM.

Xwift is the universal toolchain, built on its own fork of Swift. Write once. Run everything. Planned for macOS, Windows, Linux, Android, iOS and the web.

Overview  ·  Projects  ·  Status  ·  Contact

Xwift is built to be the one toolchain you reach for on every platform you ship to. Write apps, tools and services in Swift, and Xwift compiles them to native code for macOS, Windows, Linux, Android, iOS and the web.

Universal. One codebase. Every platform.

Xwift compiles one Swift codebase for desktop, mobile and the web. The proof of concept already builds, tests and runs on macOS, Linux, Windows and WebAssembly in CI. Android and iOS come next.

$ swift build
$ swift test
$ swift run xwift-hello
Hello from Xwift on linux-x86_64 (64-bit)!

Native. Real binaries on every target.

Xwift compiles straight to native code through LLVM. No virtual machine and no bridge sit between your code and the platform. What you ship is a plain native binary.

// From XwiftCore: resolved at compile time, once per target
private static var currentOS: OperatingSystem {
    #if os(macOS)
    return .macOS
    #elseif os(iOS)
    return .iOS
    #elseif os(Android)
    return .android
    #elseif os(Linux)
    return .linux
    #elseif os(Windows)
    return .windows
    #elseif os(WASI)
    return .wasi
    #else
    return .unknown
    #endif
}

Owned. Our fork. Our release cycle.

Xwift keeps its own fork of the Swift compiler, driver, package manager and installer scripts. Today the fork matches Swift 6.4.1 with no patches. Every other dependency is pinned to an exact commit, so each build can be reproduced.

{
  "_scheme": {"name": "xwift/0.1", "aliases": ["xwift/0.1"]},
  "swift":                   {"repo": "xwift-org/swift",                   "branch": "xwift/main"},
  "swift-driver":            {"repo": "xwift-org/swift-driver",            "branch": "xwift/main"},
  "swiftpm":                 {"repo": "xwift-org/swift-package-manager",   "branch": "xwift/main"},
  "swift-installer-scripts": {"repo": "xwift-org/swift-installer-scripts", "branch": "xwift/main"}
}

Familiar. It is Swift. Keep what you know.

Xwift speaks the Swift language and SwiftPM. Packages, tests and skills carry over unchanged, and the fork is synced from upstream Swift releases.

// swift-tools-version:6.0
import PackageDescription
<p>let package = Package(
name: "Xwift",
products: [
.library(name: "XwiftCore", targets: ["XwiftCore"]),
.executable(name: "xwift-hello", targets: ["xwift-hello"]),
],
targets: [
.target(name: "XwiftCore"),
.executableTarget(name: "xwift-hello", dependencies: ["XwiftCore"]),
.testTarget(name: "XwiftCoreTests", dependencies: ["XwiftCore"]),
],
swiftLanguageModes: [.v6]
)">
</picture></p>
</p>
<p><a id=

Complete. One stack, top to bottom.

The toolchain comes first. A UI framework, system APIs and a package manager follow, each in its own repository.

  • Toolchain. The compiler, driver and package manager, forked from Swift 6.4.1. Private, in Phase 0.
  • UI framework. One declarative UI for every target. Planned.
  • System APIs. Files, networking, processes and devices, the same everywhere. Planned.
  • Package manager. Packages and a registry for all six targets. Planned.

Status. Early, and clear about it.

  • Phase 0 Linux build succeeded. On 18 Oct 2026 the full unmodified Swift 6.4.1 toolchain built on Linux x86_64 (xwift-build run 39103701085). Artifact: xwift-0.1.0-phase0-linux-x86_64 (~1.27 GB).
  • Private mirrors are in place. Compiler, driver, package manager and installer scripts at swift-6.4.1-RELEASE, plus a pinned reproducible build setup in xwift-build.
  • The proof of concept runs. One package builds, tests and runs on macOS, Linux, Windows and WebAssembly in CI.
  • Not released. There is no public toolchain download. The source repositories are private. An early marketing site exists in xwift-web.
  • License. Not chosen yet.

Contact. Questions, ideas, early interest.

Write to vido.teodor10@gmail.com. Watch xwift-org for the first public repositories.

Follow Along. Xwift is early. This is the time to join. vido.teodor10@gmail.com · github.com/xwift-org

Xwift is an independent project. It is not affiliated with or endorsed by Apple Inc. Swift is a trademark of Apple Inc.

Popular repositories Loading

  1. .github .github Public archive

    Xwift organization profile

  2. readme-template readme-template Public archive

    Banners and READMEs for every Xwift repository.

    Python

Repositories

Showing 2 of 2 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…