Hi. Just upgraded Koin to `3.0.1` on Kotlin Multip...
# koin
r
Hi. Just upgraded Koin to
3.0.1
on Kotlin Multiplatform project and started getting error:
Copy code
java.lang.IllegalStateException: e: Failed to resolve Kotlin library: /Users/.../build/kotlinSourceSetMetadata/commonMain/io.insert-koin-koin-core/io.insert-koin-koin-core-commonMain.klib
Building successfully for Android platform but getting error for iOS. Anybody else experienced anything similar?
j
fwiw you can compare build config with what's in following (which is also using 3.0.1) https://github.com/joreilly/PeopleInSpace
💜 1
🚀 1
r
@John O'Reilly 🙂 Your project is kind of a benchmark. Always looking how it is set up. 🙂 And was looking at it before you posted.
👍 1
Cannot see any difference except that I have defined
Copy code
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.native.enableDependencyPropagation=false
in the project’s
gradle.properties
, however, don’t think that it could be the cause.
It was Kotlin version. Upgraded to
1.4.32
and it is working fine now. Thanks @John O'Reilly for instant reply!
👍 2
💪 2