Hello, I am experiencing runtime crash when I try to access any of my Kotlin Library classes from iOS
The error I get is not related to my actual code… (I try to initialize some other class that is not related to the class from the crash)
It seems like swift is trying to materialize my classes during runtime and fails?
What should I do?
b
Benoît
03/25/2021, 11:16 AM
You might want to give a bit more detail, it's hard to see what's happening with just 1 line of a stack trace
s
Shawn Tucker
03/25/2021, 11:18 AM
That is all it shows me,
Do you know a way I can get more details?
I'm sorry I don't really know how to fix your problem. When I run into something like this, I try to reproduce it in a unit test and run it on the iosX64 target, it makes it much easier to debug and you get a proper Kotlin stacktrace
s
Shawn Tucker
03/25/2021, 12:22 PM
Ok Thanks! I will try it in the iosX64 target to try and gain more detail
b
Benoît
03/25/2021, 12:23 PM
Let me know if you find anything, I've had this EXC_BAD_ACCESS before and fixed it by fixing an issue in my code (there was an infinite recursion) but I still don't know what triggered it