Hey, I can’t run tests on iOS I get these errors, ...
# multiplatform
r
Hey, I can’t run tests on iOS I get these errors, which looks like just a warning, don’t know why that doesn’t allow running tests?
Copy code
'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. You can use -Xexpect-actual-classes flag to suppress this warning. Also see: <https://youtrack.jetbrains.com/issue/KT-61573>
used
Copy code
compilerOptions {
    freeCompilerArgs.add("-Xexpect-actual-classes")
  }
which removed the warning but the tests are still not running
is this the real error 🤔 ?
Copy code
Calculating task graph as no configuration cache is available for tasks: :shared:cleanIosSimulatorArm64Test :shared:iosSimulatorArm64Test --tests com.raedghazal.kotlinx_datetime_ext.LocalDateTimeFormatterTest.test_parse_to_PolishLocaleDateTimeFormatter
🚫 1
@tapchicoma what is it then 😄
t
it is Gradle message indicating that it is rebuilding configuration cache
r
but why running unit tests on iOS doesn’t work? its not the first KMP project that have this issue
t
Why do you think they are not running, I see from the screenshot test report was created. Anyway I would suggest to open a Kotlin issue with repro project, so we could investigate the cause