Hi, I'm trying to use Koin in iOS. My setup is the following:
I have multiple feature kmp modules that uses koin. I also created a core/koin kmp module to handle the init of Koin and in each feature module i have a function
loadKoinModules to load their own corresponding modules. I converted all the kmp modules i needed in iOS into individual
xcframework.
In ios I'm running the following in iOS:
Koin_iosKt.doInitKoin() // core/koin module to init koin
MyFeatureModuleKt.loadKoinModules() // load koin modules for that feature
But im getting the following error:
KoinApplication has not been started
But Koin does init.
Now the workaround that seemed to work was that if I have the koin init in the same feature it works as expected. Wondering why having a separate module for init koin wouldn't