Hi folks, I’ve tried using the KMM ViewModel, and ...
# koin
a
Hi folks, I’ve tried using the KMM ViewModel, and while it works fine on the Android side, the iOS part is crashing due to an issue with Koin initialization. Does anyone have guidance on how this can be resolved?
1
k
at a quick glance seems like Uuid. impl for iOSMain is not provided ?
a
I noticed this issue when i migrated koin version to 4.0.1.
a
UUID it should be provided
what version of Kotlin are you using?
a
@arnaud.giuliani Kotlin 1.8.0
I was able to resolve the issue by upgrading Kotlin to 2.0.20 and downgrading
kotlinx.serialization
to 1.7.1. After that, Android Studio threw a Compose Compiler Gradle error, which I resolved by following the procedure outlined here: Compose Compiler.
a
yeah, Kotlin 1.8 doesn't have requirements for Koin 4
👍 1