I am getting the following error at run-time when ...
# kotlin-native
t
I am getting the following error at run-time when returning a response object from a network call after doing a JSON parse to my class:
Copy code
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[ReasonCompanion<0x10aea0210> init]: cannot init a class object.'
Any clues as to what to look for?
Never mind. Stupid bug in my ObjC code. I was not allocating a Kotlin companion member properly.