Anyone ever had this runtime error on iOS: `kotlin...
# multiplatform
c
Anyone ever had this runtime error on iOS:
kotlin.NotImplementedError: An operation is not implemented: Intrinsic to be implemented in compiler
?
o
@olonho #kotlin-native
h
Are you using
kotlinx.serialization
?
c
yes, just checked and the exception is thrown at JSON.parse
s
Obtaining serializer from KClass is not available on native due to the lack of reflection. Use .serializer() directly on serializable class, like here: https://github.com/Kotlin/kotlinx.serialization/blob/50047ce0683c068896e4a57b1a1d71fd28cab02d/docs/runtime_usage.md#obtaining-serializers
🙏 1