Problems, finding the iOS-specific Ktor dependencies
Opened this issue · 6 comments
I ran into some issues trying to build the iosMain
library. Basically, it appears, as if Gradle cannot download the iOS-specific dependencies for Ktor:
I checked Bintray a few times and the paths seem correct. I also downgraded the dependency version to what seemed a more stable one, but that did not help either.
I am using the latest community version of IntelliJ as well as v 1.3 of the Kotlin plugin.
I do also have problems with building the project. Is it possible to update all the versions to the latest ones in gradle.properties? As far as I changed some of them, getting new errors.
Trying to use versions below:
gradle-4.10.2
kotlin_version=1.3.0-rc-198
org.jetbrains.kotlin.native.version=1.3.0-rc-208
coroutines_version=1.0.0-RC1
ktor_version=1.0.0-beta-2
serialization_version=0.6.1
gradle_android_version=3.4.0-alpha02
Same problem with my own project and with just cloned this kotlinconf-app.
While gradle sync the following message appears:
Could not resolve org.jetbrains.kotlinx:kotlinx-coroutines-core-native:1.0.1.
Could not resolve org.jetbrains.kotlinx:kotlinx-serialization-runtime-native:0.9.1.
Could not resolve io.ktor:ktor-client-ios:1.0.1.
Could not resolve io.ktor:ktor-client-core-ios:1.0.1.
Could not resolve io.ktor:ktor-client-json-ios:1.0.1.
Although ktor-dependencies for other platforms are downloaded from here https://dl.bintray.com/kotlin/ktor/io/ktor/
Update to 1.1.1
should fix the problem.
Update to
1.1.1
should fix the problem.
For ktor-client-json-ios and ktor-client-core-ios 1.0.1 is the last version in bintray:
https://dl.bintray.com/kotlin/ktor/io/ktor/ktor-client-json-ios/
https://dl.bintray.com/kotlin/ktor/io/ktor/ktor-client-core-ios/
The ios
artifacts(except ktor-client-ios
) is native
now.
ex: (ktor-client-core-ios
-> ktor-client-core-native
)