https://kotlinlang.org logo
#koin
Title
# koin
e

Eric Ampire [MOD]

09/25/2023, 4:37 PM
Hello folk I’ve tried to use the new Compose Koin API in my Compose Multiplatform app like this
KoinApplication(
moduleList = { koinModules() },
content = {
}
)
But when I try to run the application I’m getting this error java.lang.NoSuchMethodError: No static method koinApplication
a

arnaud.giuliani

09/25/2023, 4:38 PM
linking problem here? can you try the otehr version of
KoinApplication
the one with KoinAppDeclaration
image.png
e

Eric Ampire [MOD]

09/25/2023, 7:38 PM
Which version of koin-compose has this structure
a

arnaud.giuliani

09/26/2023, 3:38 PM
koin-compose 1.1.0
e

Eric Ampire [MOD]

09/26/2023, 9:58 PM
Unfortunately I'm having this issue on iOS Could not find koin-compose.klib (io.insert-koinkoin compose iossimulatorarm641.1.0)
a

arnaud.giuliani

09/27/2023, 7:06 AM
🤔 need to raise an issue for this target then
it's in the config
have to check why the target is not published 😕