kotlinx-datetime crashes on arm32 iOS9. Any sugges...
# kotlin-native
e
kotlinx-datetime crashes on arm32 iOS9. Any suggestion on how to solve it?
s
Probably you should report it to https://github.com/Kotlin/kotlinx-datetime/issues
i
It seems that
clock_gettime
posix method cannot be found in that platform, which looks very strange to me.
Could you please report it to the library issue tracker (the link is given above) with the steps how to reproduce it? I mean it's clear that you've tried to call
Clock.System.now()
, but I'm talking more about the environment where it reproduces.
e
Will open an issue on Github... I am not sure if this is the only method though... It's the first method being called in my application. I can try other methods if you have anything in mind
i
Yes, it would be great if you try the functions involving a timezone, for example
Instant.toLocalDateTime
.
e
okay
TimeZone.currentSystemDefault()
works fine as the well as
Instant.toLocalDateTime
I will open an issue tonight but I think I can workaround this by creating my "own"
Clock