if you build a framework that uses shared code tha...
# ios
d
if you build a framework that uses shared code that uses kotlinx serialization do you need to somehow include kotlinx serialization for ios in your framework or consumer app?
d
no, you just need to define it in the shared build.gradle.kts file
d
thank you
I need to export the the binary output of the kotlinx.serialization library so that it is available at runtime to my framework
d
In case you need to reference kotlinx.serialization objects from the ios app, then yes. But I was assuming from the ios app you were accessing data which was already processed into custom data structures.
d
I am calling a function from iOS that then calls Json.encodeToString
d
ok, so in that case you need to include the serialization library on the iosApp gradle file
d
thank you