Hello, after updating to ktor `2.2.2` . I’m not ab...
# ktor
r
Hello, after updating to ktor
2.2.2
. I’m not able to create a Swift package anymore. I get
Copy code
Module "io.ktor:ktor-io" 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" that has a different version in the project than the version that "io.ktor:ktor-io" 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" dependencies that may lead to conflicts:
1. "stdlib: 1.7.10" (was initially compiled with "stdlib: 1.7.20")
2. "org.jetbrains.kotlin.native.platform.CoreFoundation: 1.7.10" (was initially compiled with "org.jetbrains.kotlin.native.platform.CoreFoundation: 1.7.20")
3. "org.jetbrains.kotlin.native.platform.darwin: 1.7.10" (was initially compiled with "org.jetbrains.kotlin.native.platform.darwin: 1.7.20")
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.7.20")
6. "org.jetbrains.kotlinx:atomicfu" (a library with unknown version)
7. "org.jetbrains.kotlinx:atomicfu-cinterop-interop" (a library with unknown version)
8. "org.jetbrains.kotlinx:kotlinx-coroutines-core" (a library with unknown version)
I’m not sure if I totally understand the error
a
Could you please tell me how you build a Swift package?
r
Yes, we use https://github.com/luca992/multiplatform-swiftpackage, Sorry for the late response
a
I’ve created an issue to address this problem.
r
Thank’s !