Hello, after updating to 2.2.2 im getting the foll...
# ktor
c
Hello, after updating to 2.2.2 im getting the following error when building iosApp
Copy code
> Task :realtime:linkDebugFrameworkIosSimulatorArm64 FAILED
e: Module "io.ktor:ktor-io (io.ktor:ktor-io-iossimulatorarm64)" has a reference to symbol kotlin.ranges/contains|-4666807430820256279[0]. Neither the module itself nor its dependencies contain such declaration.

This could happen if the required dependency is missing in the project. Or if there is a dependency of "io.ktor:ktor-io (io.ktor:ktor-io-iossimulatorarm64)" that has a different version in the project than the version that "io.ktor:ktor-io (io.ktor:ktor-io-iossimulatorarm64): 2.2.2" was initially compiled with. Please check that the project configuration is correct and has consistent versions of all required dependencies.

The list of "io.ktor:ktor-io (io.ktor:ktor-io-iossimulatorarm64): 2.2.2" dependencies that may lead to conflicts:
1. "stdlib: 1.7.10" (was initially compiled with "stdlib: 1.6.21")
2. "org.jetbrains.kotlin.native.platform.CoreFoundation: 1.7.10" (was initially compiled with "org.jetbrains.kotlin.native.platform.CoreFoundation: 1.6.21")
3. "org.jetbrains.kotlin.native.platform.darwin: 1.7.10" (was initially compiled with "org.jetbrains.kotlin.native.platform.darwin: 1.6.21")
4. "org.jetbrains.kotlin.native.platform.iconv: 1.7.10" (was initially compiled with "org.jetbrains.kotlin.native.platform.iconv: 1.7.20")
5. "org.jetbrains.kotlin.native.platform.posix: 1.7.10" (was initially compiled with "org.jetbrains.kotlin.native.platform.posix: 1.6.21")
6. "org.jetbrains.kotlinx:atomicfu (org.jetbrains.kotlinx:atomicfu-iossimulatorarm64): 0.18.5" (was initially compiled with "org.jetbrains.kotlinx:atomicfu (org.jetbrains.kotlinx:atomicfu-iossimulatorarm64): 0.17.3")
a
Could you please share the steps to reproduce it? I found two usages of the
contains
method here.
c
@Aleksei Tirman [JB] You can clone this repo https://github.com/Cherrio-LLC/KtorError
@Aleksei Tirman [JB] were you able to reproduce??
a
Thank you. I reproduced it.
I’ve created an issue to address this problem.
c
I have to downgrade as a workaround right?
a
Yes