Skip to content

3.0.0 out now

View release notes

Ship Swift
anywhere.

Swift Bundler provides everything you need to build and ship Swift apps for every major platform.

curl -fsSL https://sbun.dev/install.sh | sh
View install script
Enjoying Swift Bundler? Sponsor its development
Ships to macOS iOS tvOS visionOS Linux Windows Android
MusicPlayerExample (src)
MusicPlayerExample running on macOS
MusicPlayerExample running on an iPhone

Better together

SwiftCrossUI + Swift Bundler

If you’re targeting seven platforms with Swift, there’s really only one option, and that’s SwiftCrossUI + Swift Bundler.

SwiftCrossUI gives you a unified, SwiftUI-style API for building native apps. Swift Bundler handles the platform-specific details that make those apps real: custom URL schemes, mobile permissions, signing and installers.

Powerful configuration.

Swift Bundler's powerful configuration format lets you tailor your app to every platform while sharing basic configuration between platforms.

Simple by default

Swift Bundler's abstractions mean that most apps don't need any platform-specific configuration.

Only three properties are required to start shipping to every major platform: product, identifier, and version. Everything else is optional.

Bundler.toml
config_version = "3.1.0" [apps.HelloWorld]product = "HelloWorld"identifier = "dev.example.HelloWorld"version = "1.0.0" # Some common optional propertiesdescription = "A basic app."icon = "icon.png"license = "Apache-2.0"url_schemes = ["myscheme"]

Target common formats.

With one config file, Swift Bundler can produce a signed Apple bundle, a portable Linux directory, an AppImage, an RPM, a Windows installer or an Android APK.

darwinApp .app

Destination

macOS, iOS, tvOS & visionOS

Signing

Developer ID, provisioning profiles, ad-hoc fallback

linuxRPM .rpm

Destination

Linux

Signing

Not supported (yet)

linuxAppImage .AppImage

Destination

Linux

Signing

Not supported (yet)

linuxGeneric Portable

Destination

Linux

Signing

Not supported (yet)

windowsMSI .msi

Destination

Windows

Signing

Certificate or Azure Artifact Signing

windowsGeneric .zip

Destination

Windows

Signing

Executable and DLL signing supported

androidAPK .apk

Destination

Android

Signing

Not supported (yet)

Bundler reference

Adopt Swift Bundler at any stage.

Starting from scratch? Use a template to get a head start. Already have an app? Add a Bundler.toml config and start shipping to more platforms.

Three adoption methods
Method 01 Create

Start with a template

Create a new project from a built-in template.

Command
sbun create HelloWorld --template SwiftCrossUI
Method 02 Configure

Add Bundler.toml

Already have a SwiftPM package? Drop in one config file and you’re good to go.

Bundler.toml
config_version = "3.1.0" [apps.HelloWorld]identifier = "com.example.HelloWorld"product = "HelloWorld"version = "1.0.0"
Method 03 Convert
Experimental

Convert an xcodeproj

Generate a SwiftPM-based project from an existing Xcode project.

Command
sbun convert <file.xcodeproj> --out <output-directory>

Experimental. Converted projects may require manual intervention before they properly build.

Migration guide Manual follow-up

3.0 supercharges your workflow.

This release brings hot reloading, a rich overlay-based config system, and support for Windows, Linux, iOS and Android as first-class destinations.

Conditional overlays

Share defaults between platforms and use platform- or bundler-specific overlays to fine-tune your app for each destination.

Bundler.toml
config_version = "3.1.0" [apps.HelloWorld]product = "HelloWorld"identifier = "dev.example.HelloWorld"version = "1.0.0" [[apps.HelloWorld.overlays]]condition = "platform(macOS)"plist.NSHighResolutionCapable = true [[apps.HelloWorld.overlays]]condition = "platform(iOS)"plist.UISupportedInterfaceOrientations = [  "UIInterfaceOrientationPortrait"]

Signing

3.0 generates provisioning profiles for iOS devices, automatically discovers certificates on macOS and Windows, and supports Azure Artifact Signing on Windows.

Hot reloading

Running apps with --hot and Swift Bundler swaps your app’s code over a local TCP connection. Avoid relaunching or losing state just to preview a UI tweak. Requires a compatible UI framework.

Manage devices

Managing Apple and Android simulators and devices is done with a unified set of commands. There's no learning curve when switching from one platform to another.

Custom builders

Pull CMake projects or prebuilt artifacts into your app's build with custom builders. Custom builders can also build helper executables, like an updater, to bundle alongside your main excecutable.

Plus: string catalogs, asset catalogs, entitlements, Metal shaders, Icon Composer files, experimental Xcode project conversion, and advanced platform-specific configuration.

Read the release notes

Install Swift Bundler.

Pre-built packages for macOS, Linux and Windows.

Latest: v3.1.0 · November 2026 · all releases

Recommended

Install with one command

The command detects your platform, downloads the right installer and installs it for you. Our installers all install an sbun alias alongside swift-bundler.

curl -fsSL https://sbun.dev/install.sh | sh
View install script
Manual

Manual installation

Prefer to manage the download yourself? Grab a release artifact directly.

macOS

Universal installer · macOS 13+

Linux

x86_64 · statically linked

Windows

x86_64 · Windows 10+

Frequently asked questions.

If your questions isn't here, check the docs!

Troubleshooting guide

Yes. Swift Bundler projects are just SwiftPM packages with a Bundler.toml config file. Add a Bundler.toml beside Package.swift, point it at an executable product, and run.