Hello everyone, I'm working on a KMP App and chose...
# koin
a
Hello everyone, I'm working on a KMP App and chose to export the Kotlin Shared code to iOS by exporting an xcframework (using the assembleXCFramework gradle task), I then import the framework in my code XCode project. The thing is that I get this error:
Copy code
Can't show file for stack frame : <DBGLLDBStackFrame: 0x9e7761cc0> - stackNumber:1 - name:kfun:org.koin.core.context.MutableGlobalContext#<init>(){} [inlined]. The file path does not exist on the file system: /Users/runner/work/koin/koin/projects/core/koin-core/src/nativeMain/kotlin/org/koin/core/context/GlobalContext.ktMessage from debugger: killed
when initializing Koin. Kotlin side:
Copy code
class DependencyProvider {
    fun initKoin() {
        RendrLog.logInfo(this::class.simpleName, "Initializing Koin...")
        val instance = startKoin {
            modules(Modules.features)
        }
        koin = instance.koin
    }

    companion object {
        lateinit var koin: Koin
    }
}
XCode side:
Copy code
public struct DIHelper {
    
    public static func initKoint() {
        let koinDependencyHelper = DependencyProvider()
        koinDependencyHelper.doInitKoin()
    }
    
}
Everything was working previously when importing my shared kotlin code my Scheme > Build > Pre-action > script running "embedAndSignAppleFrameworkForXcode" I could't find any link about this error, so I wanted to know if anyone already encountered this error, or if you have an idea? 🙂 Have a nice day
a
sounds like compilation problem