# Using Swift SDKs with Raspberry PIs

**URL:** <https://forums.swift.org/t/using-swift-sdks-with-raspberry-pis/83466>\
**Category:** Community Showcase\
**Tags:** raspberrypi, cross-compilation, arm32, arm64, swift-sdk\
**Created:** [November 29, 2025, 8:12pm UTC](https://forums.swift.org/t/using-swift-sdks-with-raspberry-pis/83466 "2025-11-29T20:12:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xtremekforever](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/xtremekforever/32/43018_2.png) [@xtremekforever](https://forums.swift.org/u/xtremekforever)\
**Post date:** [November 29, 2025, 8:12pm UTC](https://forums.swift.org/t/using-swift-sdks-with-raspberry-pis/83466/1 "2025-11-29T20:12:00Z")

</div>

Cross-compiling Swift packages has been possible for a while now using Swift SDKs, but I haven’t seen any guides or articles that show how they can be used practically with Raspberry PIs. So, I created a blog post myself! Check it out at the link below on Substack:

> **[Using Swift SDKs with Raspberry PIs](https://open.substack.com/pub/xtremekforever/p/using-swift-sdks-with-raspberry-pis?r=25lixw&utm_campaign=post&utm_medium=web)**
>
> Generating Swift SDKs and cross-compiling for various Raspberry PI versions

One thing I noticed when writing this is that there’s room for improvement for the developer experience to not only generate these Swift SDKs, but also with compiling, deploying, and running on the board itself. A lot of work has been done by the [Wendy project](https://wendy.sh/about/) to provide a whole OS and VSCode plugin for developers, but if you want to just use vanilla Raspberry PI OS, Debian, or Ubuntu, then the steps can be complex and maybe even tedious.

Some thoughts:

- Would it make sense to pre-generate Swift SDKs for cross-compiling to x86\_64, aarch64, and other architectures so that developers can download and install them directly instead of having to use the swift-sdk-generator?
- How about creating some cool one-liner scripts that could help with generating and installing these Swift SDKs? I think of an interactive script that could ask questions about what target, Swift version, and distribution you want to create a Swift SDK for, which would then do all the work for you behind the scenes.
