Hello, Just wondering what the status for <Adding ...
# kmp-swift-package-manager
m
Hello, Just wondering what the status for Adding Swift packages as dependencies to KMP modules | Kotlin Multiplatform Documentation is. The youtrack issue says that the expected stability order for SPM support is supposed to be Beta in Kotlin 2.4.20 but the release notes don't specify this.
Tagging @Stanislav Tsyganov based on channel history.
t
I tried this recently and it works perfectly as expected, and the imports are also getting recognized fine. I only found one issue, which was that the generated
KotlinMultiplatformLinkedPackages
has userdata that was not gitignored, unlike
.swift-locks
which had proper gitignores.
m
Thank you. I am interested in knowing the committed time line so that i can plan for this. Currently this is on Alpha, which means the API can change. trying to get an estimate of when this can be moved to Beta/Stable.
t
The YouTrack you linked says it'll be stable in
2.5.0
and version
2.5.0-Beta2
is already out so you can build on that. The API won't change much from that (if at all, unlikely)
m
The youtrack issue says its expected to be stable in 2.5.0 and releases notes don't talk about it at all. Also its supposed to be beta in 2.4.20 but documentation is marked as Alpha.
@Timofey Solonin /@Andrey Yastrebov - I have seen you reply to other threads on the channel, so tagging you in case you might be able to help out. Thank you.
c
• Please do not ping or mention someone directly to get your questions answered, especially project owners, whether the project is Kotlin or other, unless they specifically indicate that you can.
https://kotlinlang.org/docs/slack-code-of-conduct.html#moderators
m
Oh apologies. will bear in mind.
p
Hi @Meherdatta Chepuri - we do not usually publish when items go into Beta / Stable to the public beforehand, similar to other public-facing companies. Please try not to ping team members here directly, we do monitor the Slack workspace.
🙏 1
t
I think it might be that someone forgot to update the status from alpha to beta, as I can see the linked docs says
Last modified: 21 July 2026
and version 2.4.20 (which was supposed to bump it to beta) only got released in Sep 2026
s
@Meherdatta Chepuri, sorry for the long response. We're looking forward to announcing Beta in upcoming Kotlin versions. Btw. It's fine to directly ping me 🙂