Hello, I am not able to configure coroutines in ko...
# kotlin-native
l
Hello, I am not able to configure coroutines in kotlin native only adding the corooutines library I can compile the project but after just putting simple :
Copy code
GlobalScope.launch {
    }
it fails to build the project :
Copy code
e: /MultiplatformApp/SharedCode/src/commonMain/kotlin/common.kt: (3, 16): Unresolved reference: coroutines
e: /MultiplatformApp/SharedCode/src/commonMain/kotlin/common.kt: (4, 16): Unresolved reference: coroutines
e: /MultiplatformApp/SharedCode/src/commonMain/kotlin/common.kt: (9, 5): Unresolved reference: GlobalScope
Simple project is available at github: https://github.com/landoulsi/MultiplatformApp Please help
l
added this :
Copy code
iosMain.dependencies {
            implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core-native:$coroutines_version"
        }
but still the same error
s
iOSMain
. With
O
and
S
being capital.
👍🏻 2