-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
Hi. I am trying to use the moko-socket library for KMM. App is running fine in android but for iOS I am getting this issue when I run the iOS app:
java.lang.IllegalStateException: Deserializer for declaration public kotlinx.serialization.json/JsonObject|null[0] is not found
Gradle file is like this:
dependencies{
commonMainApi("dev.icerock.moko:socket-io:0.2.1")
commonMainApi("org.jetbrains.kotlinx:kotlinx-serialization-core:1.2.1")
commonMainApi("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.1")
}
cocoapods {
..
podfile = project.file("../iosApp/Podfile")
pod("mokoSocketIo") {
source = git("https://github.com/icerockdev/moko-socket-io.git") {
tag = "0.2.1"
}
}
}
Gradle sync is successful but I am not able to run the iOS app. I am new to gradle and kotlin. Any help will be appreciated.
Thanks!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working