michaelv
07/06/2022, 11:12 AMNabil
07/06/2022, 5:03 PMmichaelv
07/06/2022, 10:36 PMimplementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0-native-mt")
Could not determine the dependencies of task ':compileKotlinIosArm64'.
> Could not resolve all task dependencies for configuration ':iosArm64CompileKlibraries'.
> Could not resolve org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0-native-mt.
Required by:
project :
project : > io.realm.kotlin:library-sync:1.0.0 > io.realm.kotlin:library-sync-iosarm64:1.0.0
In the documentation it says to add classpath("io.realm.kotlin:gradle-plugin:1.0.0")
to the build script of the project level build.gradle file however since I’m not using android studio I don’t have a project level build.gradle file. I’ve tried putting inside the settings.gradle similar to com.android.tools.build:gradle:4.1.3
but it didn’t help. Not sure what else to even look at. Any ideas? Was anyone else able to get it to work from IntelliJ?id("io.realm.kotlin") version "1.0.0"
which is different to the documentation. But yeah seems I need to do something else also.implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0-native-mt")
not sure yet how to resolve that though.strictly
but it didn’t work. Not sure how to make ktor use that version. https://kotlinlang.org/docs/multiplatform-mobile-concurrency-and-coroutines.html#multithreaded-coroutines