You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On iOS, we need to get symbolicated crash reports working. There is CrashKiOS library that does that, but it turns out it does not really work with dynamically linked frameworks due to App Thinning.
On iOS, we need to get symbolicated crash reports working. There is CrashKiOS library that does that, but it turns out it does not really work with dynamically linked frameworks due to App Thinning.
There is a handful of resources available on that matter:
https://youtrack.jetbrains.com/issue/KT-58461
https://slack-chats.kotlinlang.org/t/14161460/hello-wave-i-have-a-kmp-project-with-multiple-modules-that-i
Long story short: We don't like dynamically linked Crashlytics in KMP, it screws up iOS app with App Thinning.
Solution (short):
touchlab/KMMBridge#207 (comment)
Solution (long):
unhandled exception hook (use only
core
artifact from that library)PlatformCrashlytics
binding in:shared:platform
module to access Crashlytics nativelynative Crashlytics and log errors there (like in provided blob, but without cinterop dependency, calling into platform interface instead):
https://github.com/rickclephas/NSExceptionKt/blob/master/nsexception-kt-crashlytics/src/commonMain/kotlin/com/rickclephas/kmp/nsexceptionkt/crashlytics/Crashlytics.kt
Alternative solution:
moko-resources
:https://github.com/icerockdev/moko-resources#iosmacos-static-kotlin-frameworks-support
The text was updated successfully, but these errors were encountered: