rivu.chakraborty
12/07/2023, 4:29 AM2023-12-03 19:35:53.013087+0530 App[21470:10960419] [error] CoreData: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" w"JCAnalytics: myFunction(profileId:uId:) SomeSwiftFile.swift"
2.
Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0xa01c __pthread_kill + 8
1 libsystem_pthread.dylib 0x5680 pthread_kill + 268
2 libsystem_c.dylib 0x75b90 abort + 180
3 SDK 0x4b0f94 konan::abort() + 10
4 SDK 0x4b74f8 (anonymous namespace)::terminateWithUnhandledException(ObjHeader*)::$_1::operator()() const + 34
5 SDK 0x4b7428 void (anonymous namespace)::$_0::operator()<(anonymous namespace)::terminateWithUnhandledException(ObjHeader*)::$_1>((anonymous namespace)::terminateWithUnhandledException(ObjHeader*)::$_1) + 60
6 SDK 0x4b728c (anonymous namespace)::terminateWithUnhandledException(ObjHeader*) + 10
7 SDK 0x4b82f0 kotlin::TerminateWithUnhandledException(ObjHeader*) + 108
8 SDK 0x4b9bdc Kotlin_ObjCExport_trapOnUndeclaredException + 42
9 SDK 0x35f950 objc2kotlin_kfun:com.App.com.example.mysdk.SDK#init(com.App.com.example.mysdk.data.model.DataClass;kotlin.Function0<kotlin.Unit>){} + 416
10 App 0x17d6184 SDKProvider.init(dataClass + 14 (SomeSwiftFile.swift:14)
For 2, we've added unhandledExceptionHook
which reduced the number of crashes, but still happening. No idea what's 1.
Using the settings Multiplatform by @russhwolf, and sqldelight, if that helps.
Data classes are mutable (has var
field).
Not yet on Kotlin 1.9Jan Holešovský
12/07/2023, 6:55 AMJan Holešovský
12/07/2023, 6:57 AMrivu.chakraborty
12/07/2023, 7:13 AMrivu.chakraborty
12/07/2023, 7:14 AM