Build iOS Apps on Linux and Windows
Published on: 2025-07-19 12:10:38
Hi folks! A few months ago I shared my Swift SDK for Darwin, which allows you to build iOS Swift Packages on Linux, amongst other things. I mentioned that a lot of work still needed to be done, such as handling codesigning, packaging, and bundling.
I'm super excited to share that we've finally reached the point where all of these things are now possible with cross-platform, open source software. Enter, xtool!
About
xtool does a lot of things (because Xcode does a lot of things ) but the headline features are
Build a SwiftPM package into an iOS app
Sign and install iOS apps
Interact with Apple Developer Services programmatically
This means it's finally possible to build and deploy iOS apps from Linux and Windows (WSL). At the same time, xtool is SwiftPM-based and fully declarative, which means you can also use it to replace Xcode on macOS for building iOS software!
Using xtool
I put together some DocC Articles + a DocC Tutorial on how to get started with xtool. You can find the
... Read full article.