Are there any recently updated examples about how to use coroutines from kmm module in swift ? I'm struggling to find any
I'm receiving runtime crash with mutated frozen objects and have no idea how to debug this and where something went wrong.
Without various wrappers that I managed to find I stumbled upon
"NSLocalizedDescription" : "There is no event loop. Use runBlocking { ... } to start one."
which I don't understand how to fix as well. Will switching dependencies manually to "-native-mt" really help (as old answers on stackoverflow suggest)?
➕ 1
Slavi
01/19/2022, 2:33 PM
Well
Copy code
resolutionStrategy {
force("...kotlinx:kotlinx-coroutines-core:...-native-mt")
}
made it working somehow.
But I still hope somebody shares examples that would explain good usage of coroutines in swift