> Task :shared:compileKotlinIosSimulatorArm64
> Task :shared:linkPodDebugFrameworkIosSimulatorArm64 FAILED
e: Compilation failed: Expecting descriptor for kotlin.time/TimeMark.<init>|-5645683436151566731[0]
* Source files:
* Compiler version info: Konan: 1.7.0 / Kotlin: 1.7.20
* Output kind: STATIC_CACHE
e: java.lang.IllegalStateException: Expecting descriptor for kotlin.time/TimeMark.<init>|-5645683436151566731[0]
at org.jetbrains.kotlin.backend.konan.serialization.KonanIrLinker$KonanCachedLibraryModuleDeserializer.deserializeIrSymbol(KonanIrlinker.kt:635)
h
hfhbd
06/15/2022, 3:40 AM
How do you use Kotlin 1.7.20? In Kotlin 1.7.0 the previous class TimeMark was refactored to an interface, this is your issue. So maybe your build does not contain this change.
m
Marko Novakovic
06/15/2022, 10:17 AM
am not using 1.7.20 😄
Marko Novakovic
06/15/2022, 10:20 AM
but how can I fix it? what is
TimeMark
anyways
Marko Novakovic
06/15/2022, 10:49 AM
and this happens only when I try to run app on iOS
h
hfhbd
06/16/2022, 7:25 AM
But the error message says this
Kotlin: 1.7.20
😄
It its a built-in class/now interface to measure time