https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
j

Julián Falcionelli

04/22/2021, 12:27 PM
Hi everyone, I’ve been adding packages to my KMM project and encountered a problem trying to compile this Firebase Wrapper library (https://github.com/GitLiveApp/firebase-kotlin-sdk) for iOS, it seems to be an open issue in their Github page. Does anybody know how to solve this problem? I’ve tried by downgrading the Kotlin version, by upgrading Gradle to the latest version, adding Firebase manually to the iOS project via cocoapods, but I still get the same error 😕 .
This is my share module build.gradle file:
r

russhwolf

04/22/2021, 12:31 PM
If you're using
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.1.0")
, then you need to be using
kotlin("plugin.serialization") version "1.4.30"
or higher. Generally your serialization plugin version should match your kotlin version.
j

Julián Falcionelli

04/22/2021, 12:32 PM
Thanks for answering, I will try that!
I upgraded the serialization plugin but the same error persist 😞
This is my project build.gradle
r

russhwolf

04/22/2021, 6:00 PM
I guess if that firebase lib doesn't work in 1.4.30 you'd have to instead downgrade everything to 1.4.2x. That would include using serialization runtime 1.0.1 instead of 1.1.0, and might require downgrading other libraries but I couldn't say for sure without looking closer at the versions of everything you're using
4 Views