m

    Marko Novakovic

    3 months ago
    anyone else had this error?
    > 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)
    hfhbd

    hfhbd

    3 months ago
    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

    3 months ago
    am not using 1.7.20 😄
    but how can I fix it? what is
    TimeMark
    anyways
    and this happens only when I try to run app on iOS
    hfhbd

    hfhbd

    3 months ago
    But the error message says this
    Kotlin: 1.7.20
    😄 It its a built-in class/now interface to measure time
    m

    Marko Novakovic

    3 months ago
    it resolved itself somehow 🤷‍♂️