Hi, I have a mpp which uses kotlin 1.3.30-eap-45 a...
# multiplatform
l
Hi, I have a mpp which uses kotlin 1.3.30-eap-45 and coroutine 1.1.1, I got these two warnings when run compileKotlinIos
The compiler versions don't match either. Expected '[1.2]', found '1.1.1-release-6082'
,
kotlinx-coroutines-core-native.klib. The abi versions don't match. Expected '[8]', found '5'
build failed after the two warnings
Could not find kotlinx-coroutines-core-native.klib
d
What's the question? Does it not build?
Kotlin/Native versions are not (officially) binary backwards-compatible. That's why you get the warnings.
You'll need a version of coroutines that was built with the same version of kotlin to get rid of the warnings.
l
No, build failed after the two warnings
Could not find kotlinx-coroutines-core-native.klib
d
Have you enabled metadata?
l
You mean enableFeaturePreview(‘GRADLE_METADATA’) in setttings.gradle
d
Yes
l
Yes, it is enabled
d
What version of gradle are you using?
l
5.1
l
Got it, thanks.