Can i use platform.zlib.* in Kotlin Multiplatform project?
I've read that kotlin by default provides popular libraries for most platforms, and zlib is one of them.
But when i add: import platform.zlib.* in my commonMain source, i get unresolved reference platform
l
Landry Norris
09/28/2023, 12:32 PM
The platform libraries are often a Kotlin/Native feature. Do you have a jvm or android source set? If so, then you'd want to expect/actual into the best jvm zlib library.