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
Karan Sharma
01/14/2025, 2:07 AM
at a quick glance seems like Uuid. impl for iOSMain is not provided ?
a
ayets
01/14/2025, 6:49 AM
I noticed this issue when i migrated koin version to 4.0.1.
a
arnaud.giuliani
01/16/2025, 12:17 PM
UUID it should be provided
arnaud.giuliani
01/16/2025, 12:17 PM
what version of Kotlin are you using?
a
ayets
01/16/2025, 12:21 PM
@arnaud.giuliani Kotlin 1.8.0
ayets
01/16/2025, 1:51 PM
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
arnaud.giuliani
01/16/2025, 2:09 PM
yeah, Kotlin 1.8 doesn't have requirements for Koin 4