icerockdev / moko-mvvm

Model-View-ViewModel architecture components for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev/
Apache License 2.0
995 stars 95 forks source link

#166 ios simulator arm64 support #170

Closed Alex009 closed 2 years ago

Alex009 commented 2 years ago
Nailik commented 2 years ago

I've seen that Execution failed for task ':sample:mpp-library:iosX64Test'. with Uncaught Kotlin exception: kotlin.IllegalStateException: There is no event loop. Use runBlocking { ... } to start one.. I got this issue on a project whree the issues was the coroutinesdependency and resolved it like this:

allprojects {
    configurations {
        all {
            resolutionStrategy {
                force("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2-native-mt")
            }
        }
    }
}
Nailik commented 2 years ago

@Alex009 is there a way you could push this out as new version really fast? I cannot run my iosTests at the moment without the simulator target.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 32 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Alex009 commented 2 years ago

@Nailik i will release this update today - #171