-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run commonTest on iOS simulator #3135
Comments
I've also came across this issue (Apple M1 Pro) Here's my repository branch to reproduce this issue: AKJAW/Kotlin-Native-Implementations@03420e6 Besides the
I'm also getting a lot of warning for skia being built for a newer version:
To fix this issue, I needed to comment out the following libraries: val commonMain by getting {
dependencies {
implementation(compose.runtime)
// implementation(compose.foundation)
// implementation(compose.material)
// @OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
// implementation(compose.components.resources)
}
} Here's the commit: AKJAW/Kotlin-Native-Implementations@29af6fd |
when
I also get this issue. Any timeline on when we can set this value to the default (false)? |
Related: #3178 |
Are there any fixes / workarounds for this issue? Being unable to run iOS tests is a big issue for the Shared codebase |
Yes it is fixed in the 1.5.0-beta01 |
For previous versions look at this workaround: https://github.com/JetBrains/compose-multiplatform/pull/3378/files |
* Suppress name changed on override warning * Rename RSS specific map functions * Extract helper functions required for RSS feeds * Trim feed link when parsing XML in iOS * Add workaround for running tests on iOS simulator JetBrains/compose-multiplatform#3135 (comment) * Add iOS feed parser test for RSS feed * Run code formatting
When trying to run test from commonMain in iOS simulator:
Test fails with error:
Slack discussion: https://kotlinlang.slack.com/archives/C0346LWVBJ4/p1682502923227539
The text was updated successfully, but these errors were encountered: