Hi, I've been making a KMM app and the iOS version...
# koin
c
Hi, I've been making a KMM app and the iOS version of the app fails while the Android and Desktop versions run fine with the following error
Uncaught Kotlin exception: kotlin.IllegalStateException: KoinApplication has not been started
. I'm not familiar with iOS development so I'm not sure how to solve the issue.
1
s
Hi, I recommend you check out this documentation https://insert-koin.io/docs/reference/koin-mp/kmp/#ios-app, it includes an example of how to start Koin on iOS if you are using KMP
c
I've been following that example and but I still see that issue.
k
Hey @commanderpepper, what version of Koin are you using?
👆 1
c
I'm using Koin
4.0.0-RC1
I updated Koin to
4.0.0
and I'm no longer the error I first posted but I am now getting this error
Uncaught Kotlin exception: kotlin.native.internal.IrLinkageError: Can not get instance of singleton 'Companion': No class found for symbol 'kotlin.uuid/Uuid.Companion|null[0]'
s
@commanderpepper Koin 4.0.0 requires kotlin 2.0.20 👉 https://blog.insert-koin.io/koin-4-0-official-release-f4827bbcfce3