question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problems, finding the iOS-specific Ktor dependencies

See original GitHub issue

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:

image

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.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
tekinalpercommented, Oct 28, 2018

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

0reactions
phansiercommented, Jan 11, 2019

@e5l Thank you.

Could not resolve org.jetbrains.kotlinx:kotlinx-coroutines-core-native:1.0.1

solved with updating version to 1.1.0.

And how can be solved kotlinx-serialization-runtime-native?

Could not resolve org.jetbrains.kotlinx:kotlinx-serialization-runtime-native:0.9.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding Ktor dependencies
In this topic, we'll show you how to add dependencies required for Ktor to the existing Gradle/Maven project.
Read more >
Adding client dependencies | Ktor
To use the Ktor HTTP client in your project, you need to configure repositories and add the following dependencies: ktor-client-core.
Read more >
Kotlin Multiplatform Mobile - CodingWithMitch.com
I'll talk about this in detail in the course. Compose-Only navigation system. Single Activity, Zero Fragments. iOS Specific Components. SwiftUI. Code.
Read more >
Kotlin Multiplatform Mobile(KMM) : Code sharing between ...
KMM provides you this power with the help of Ktor. ... it allows developer to differ with Android and iOS specific API implementation...
Read more >
Ktor dependency - maven - Stack Overflow
The dependency ktor-server-content-negotiation-jvm for the ContentNegotiation plugin is missing in the pom.xml file.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found