Hey guys, I’m investigating for the company I work...
# kotlin-native
c
Hey guys, I’m investigating for the company I work for if we can upgrade to Kotlin 1.4 (we are using Kotlin 1.3.70 right now), but when updating for 1.4.10 or even 1.4.20-M1 I get the following on iOS (we are building a multiplatform project):
Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
Does anyone knows what might be causing this? This is not happening on our current implementation using 1.3.70, so it might be something that might’ve changed in this new release. Any help would be really nice! Thanks in advance!
👍 1
p
Interesting. We see the same issue recently in one of our test cases. It is not reproducible stable for us but happens consistently with a test case using a WeakReference. When re-running (xcrun simctl spawn ... on same binary) the unit test everything works without issues.
c
Thanks a lot! It worked 😄