Is there any word on when Kotlin Serialization (https://github.com/Kotlin/kotlinx.serialization) will be available with Kotlin Native?


They are working on it


Not sure if this is the right place to ask but here you have.

I created a Multiplatform project with Kotlin 1.3.20 with a Native target for iOS and using Kotlinx.serialization 0.10.0. I could successfully create the Framework and use it in iOS but in order to make it work in iOS I exported the native serialization runtime library to be included in the framework like this:

iosX64("ios") {
    binaries {
        framework {
            export "org.jetbrains.kotlinx:kotlinx-serialization-runtime-native:0.10.0"

My question:
Is there any way that I can avoid doing this and add this dependency in the iOS project? (using the kotlinx repository which is bintray right now)

I’m asking this as I would like to start creating more Frameworks that depends on this serialization runtime but I don’t want to include it in every framework, specially if those frameworks are going to be used in the same iOS project.

Many thanks!