
📺 Recording of Vít Nademlejnský's talk from Ackee Meets: Mobile Development (in Czech):
Swift, which most people associate exclusively with Apple, can now run on Android too. Sounds like the beginning of the end for Kotlin Multiplatform, right? Not yet. Swift for Android is a fresh experimental tool that is nowhere near as established as KMP, but it is catching up quickly and has Apple's ambitions behind it. Let's look at what the Swift SDK for Android can do, how it works, where it falls short, and whether KMP has any reason to panic. (The tool is evolving fast. What we describe is the state as of March 2026.)

📋 TL;DR
- The Swift SDK for Android is a community tool that lets you compile and run Swift logic modules on Android, which is roughly what KMP does today from the other direction.
- It relies on cross-compilation. It uses a toolchain (Swiftly, the Swift SDK for Android, the Android NDK) and connects to Kotlin through JNI bridges and swift-java.
- It makes sense where you already have Swift logic (or an iOS app) and more Swift developers than Kotlin developers. Reportedly, around 30% of packages in the Swift Package Index are compatible with Android.
- The limits are already visible: a small community, lots of missing frameworks (no UIKit or SwiftUI, no Core* and *Kit), and a larger app size.
- The verdict from practice: KMP is still significantly more mature (it has Google behind it and a head start since 2020). Swift for Android is an interesting experimental newcomer, ideal for playing around, not for a large production app.
🧩 What the Swift SDK for Android is
Note that this isn't about writing Android screens in UIKit. We're talking about logic modules: models, business logic, algorithms. That is exactly the layer that Kotlin Multiplatform handles today in the opposite direction (Kotlin → iOS). In other words, the goal isn't to replace Android UI with Swift, but to give Swift code a chance to run where it couldn't run before.
⚙️ How it works: cross-compilation
It all rests on cross-compilation: you compile the code on one operating system but run it on a target one (here, Android). You need three tools for that:
- Swiftly, the host toolchain.
- Swift SDK for Android, the SDK itself.
- Android NDK (Native Development Kit), which supplies native Android functionality and tools.
That gets you a binary for Android. If you want to integrate it into existing Kotlin code, you also add JNI bridges and the swift-java tool, which handles interoperability between Java and Swift. The chain then looks like this: Kotlin calls Java, Java calls Swift, and the other way around.
🤔 Why you would want to use it
The reasons make sense:
- You write models, logic and algorithms in Swift, similar to what KMP offers from the other side.
- You have a finished Swift package or iOS app and don't want to write the same logic again in Kotlin.
- You have more Swift developers than Kotlin/Java developers on the team and want to reuse code on Android too.
- Reportedly, around 30% of packages in the Swift Package Index are already compatible with Android, so it's not just a lab toy. Some of it really runs.

You may want to cool the enthusiasm a bit with what comes next.


⚠️ Limitations worth admitting
As with any new tool, a few things need some polishing. The biggest brake so far is the small community and the fact that it only came out in October 2025. It already offers the most common frameworks, but quite a few are still missing, and an unforgiving rule applies: “if it isn't available for Linux, it won't be available for Android either.”
| Swift on Android | Status |
|---|---|
| Foundation, Swift Testing, Dispatch | ✅ works |
| URLSession, async/await, JSON decoding | ✅ works |
| CoreGraphics, CoreLocation and the like | ❌ missing |
| CloudKit, StoreKit, HealthKit, GameKit | ❌ missing |
| UIKit, SwiftUI (any UI) | ❌ not at all |
In other words, you share logic, not screens. Which is, incidentally, exactly the philosophy KMP is built on.
🛠️ What it looks like in practice
According to Vít Nademlejnský, you can't just take a SwiftUI module, “copy-paste” it into an Android module and expect it to run. The reality takes some proper manual work:
- Gradle setup: it pays to start from the ready-made projects from the Android Workgroup, which handle connecting the tools and the architectures you build for (arm64, armv7, x86_64).
- Adding imports: not everything is imported the same way as on iOS (see below).
- Adjusting the original code: sometimes the code needs a bit of tweaking.
- Invalid Java classes and objects: the generated Java classes and interfaces don't always talk to each other nicely or contain errors.

👀 Example: a Compose app calling a Swift use case
Let's show it on a simple Android app in Compose that pulls a list of characters from a public API through use cases. It has a classic Android ViewModel, with one important extra guest, SwiftArena:
class CharactersViewModel(
private val arena: SwiftArena,
private val getAllCharactersUseCase: GetAllCharactersUseCase,
) : ViewModel() {
private val _state = MutableStateFlow<State>(State.Loading)
val state = _state.asStateFlow()
fun fetchCharacters() {
viewModelScope.launch {
try {
val firstPage = getAllCharactersUseCase.getFirstPage(arena).await()
_state.value = State.Loaded(firstPage.getCharacters(arena).toList())
} catch (e: Exception) {
_state.value = State.Error(
message = "An unexpected error occurred: ${e.message}"
)
}
}
}
}What is SwiftArena? An automatic memory manager for Swift objects, tied to the ViewModel. It handles releasing memory for you so that it matches the screen's lifecycle. And don't let it throw you that we're on Android: Swift runtime features are managed through ARC here too, exactly as on iOS. Swift plays by its own rules even on foreign turf.
The use case itself is then nicely ordinary Swift:
public struct CharacterPage {
public let characters: [Character]
public let nextPage: Int64?
}
public final class GetAllCharactersUseCase: Sendable {
private let characterRepository: CharacterRepository
public init(characterRepository: CharacterRepository) {
self.characterRepository = characterRepository
}
public func getFirstPage() async throws -> CharacterPage {
let result = try await characterRepository.getCharactersPage(page: 1)
return CharacterPage(
characters: result.results,
nextPage: extractNextPage(from: result.info.next)
)
}
}And the networking layer? Plain URLSession, handling status codes and JSON decoding, nothing that would surprise a Swift developer:
public final class NetworkProvider: Sendable {
public init() {}
let baseURL: String = "https://rickandmortyapi.com/api/"
public func performAPIRequest(endpoint: String) async throws -> Data {
if let url = URL(string: baseURL + endpoint) {
let (data, response) = try await URLSession.shared.data(from: url)
guard let statusCode = (response as? HTTPURLResponse)?.statusCode,
200..<300 ~= statusCode else {
let error: ResponseErrorMessage = try decodeJSONData(data: data)
throw NetworkProviderError.RequestError(error.error)
}
return data
} else {
throw NetworkProviderError.InvalidURL
}
}
}On iOS, Swift reaches low-level C functions through Darwin. On Linux it's Glibc, and on Android it's Android. And FoundationNetworking, for example, isn't part of Foundation itself, so on Android you have to import it separately. These small things are what you have to add by hand when moving code over.
🔮 Where it's heading
The community isn't sleeping. Work is already underway on debugging (we warmly recommend it for integration), testing improvements and IDE support, since juggling Xcode and Android Studio at the same time is no picnic yet. Promised for the future are packaging, better integration and above all size reduction, because the resulting apps are still several times larger than they would be without Swift for Android.
⚖️ Swift for Android vs. Kotlin Multiplatform: is it the end, then?
Short answer: no. Longer answer in a table:
| Criterion | Kotlin Multiplatform | Swift SDK for Android |
|---|---|---|
| Maturity | mature, proven in production | experimental newcomer |
| Official support | yes, Google is pushing it | so far mainly the community |
| How long it has been out | on the market since 2020 | released in October 2025 |
| UI sharing | no (UI stays native) | no (UI stays native) |
| Use in large production apps | yes | not yet, more or less |
KMP is on a completely different level and won't lose its throne anytime soon. We covered what KMP looks like in everyday practice separately, as well as the migration of a large banking app to KMP, which shows what it takes to roll it out in a running production environment. The Swift SDK for Android, though, has an active community with big plans (to get Swift absolutely everywhere) and it works with a tool called Skip, which takes a somewhat different route to bringing Swift to Android (and can also share UI). How far it gets will depend a lot on how hard Apple itself pushes it.
“KMP is still way more mature, it's on a totally different level. But Swift for Android is definitely worth trying. The active community is really working hard on it and they have big plans.”
Frequently asked questions
🎯 Key takeaways
Swift running on Android sounded like a joke just a few years ago, and today it is a working experiment with its own community and Apple's ambitions behind it. Kotlin Multiplatform can sleep soundly for now: it is more mature, proven in production and has a head start. But the world of multiplatform development is clearly settling in from both sides, and that's a good thing. If you have finished Swift modules and a taste for experimenting, Swift for Android is definitely worth a try, just don't put it into production yet.
You can find the whole story, including questions from the audience, in the talk recording (in Czech). Watch for dates of future Ackee Meets on Eventbrite and subscribe to the newsletter (in Czech) so the next piece like this lands straight in your inbox.




