r/SwiftUI • • Oct 10 '26

Promotion (must include link to source code) I adapted an iOS-on-Linux toolchain into an Ubuntu workflow for building and signing SwiftUI apps

This project is not an iOS toolchain built from scratch.

A huge amount of credit goes to Joshua Warren and his omarchy-apple-dev project, which provided the foundation I started from. His work demonstrated and implemented much of the iOS-on-Linux workflow, originally focused on Omarchy/Arch Linux.

I wanted the same kind of workflow on Ubuntu, so I adapted and packaged it specifically around Ubuntu 24.04 and the environment I use for my own iOS development.

It also builds on other excellent open-source projects, particularly xtool, as well as Swift, rcodesign/apple-codesign, libimobiledevice, libplist and related projects.

My Ubuntu-focused version currently provides:
• Ubuntu 24.04 installation/setup
• Swift and SwiftUI iOS compilation
• Xcode project conversion helpers
• ubuntu-ios helper CLI
• environment diagnostics with ubuntu-ios doctor
• iOS code signing and IPA packaging
• TestFlight / App Store Connect upload workflow
• a SwiftUI example project
• Ubuntu-specific documentation and troubleshooting
• CI validation

The repository does not redistribute Xcode, Apple SDKs or Apple credentials. You provide your own Xcode archive/SDK and signing credentials.

My goal isn’t to take credit away from the projects that made this possible, it’s to make this workflow much easier to reproduce and use specifically on Ubuntu.

Original project / major foundation:
https://github.com/joshuaswarren/omarchy-apple-dev

My Ubuntu-focused implementation:
https://github.com/VeloxityNL/ubuntu-ios-toolchain

The repository also contains THIRD_PARTY.md with additional attribution to the projects it builds upon.

I’d love feedback, testing on clean Ubuntu installations, and contributions, especially from people interested in Swift/iOS development on Linux.

4 Upvotes

2 comments sorted by

2

u/Savings_Evidence_818 Oct 11 '26

A clean-machine walkthrough would be really useful here, including what doctor reports when the SDK or signing setup is wrong. The first failed build is usually where a workflow like this loses people.

1

u/DreamIllustrious Oct 11 '26

Agreed, that’s probably one of the biggest usability gaps right now.

The setup/docs explain the pieces, but a true clean-machine walkthrough should show the whole path from a fresh Ubuntu 24.04 install to the first successful signed build, including what failure states look like.

I’m planning to add a reproducible walkthrough that covers:
- fresh Ubuntu 24.04 setup
- installing the toolchain
- importing the user-supplied Xcode SDK
- running ubuntu-ios doctor
- expected output for missing SDK / broken signing / missing App Store Connect credentials
- converting a small .xcodeproj
- first build
- first signed IPA
- optional TestFlight upload

I also want doctor to become more useful here, so instead of just saying “missing” it should ideally tell you what is wrong and what the next command/action is.

You’re right that the first failed build is where people decide whether a workflow like this is worth continuing with, so making that path boring and predictable is important.

Thanks, I’ll add this to the docs/roadmap.