Hello everyone, Currently in our team we are build...
# multiplatform
g
Hello everyone, Currently in our team we are building a KMP app using the Kotlin code for the shared logic, but each platform handling its own ui (✏️ & swift) independently. Right now we are facing an issue when we want to debug the share code in XCode a problem of unsymbolicated crash reports due to the dsym files are missing. Currently we are following the approach suggested here, but still no dsym files are being generated. Has someone already faced this? or have a different approach that will fulfill this requirement? Thanks in advance 🙂 .
With the purpose to revive this original question. These are the ways we are using this configuration. So far we don't see the dsym files being generated. Our intention is to be able grab crash reports (exceptions, error) produced in the
:shared
module. And even right now in Crashlytics we are not seeing them. Any input could be helpful. Thanks in advance 🙂 .
a
You are building static framework - it's impossible to generate dsym for static framework https://youtrack.jetbrains.com/issue/KT-53866#focus=Comments-27-6435539.0-0 https://stackoverflow.com/a/52776770 In your case the dsyms produced by xcode release build should be enough. For working with crashes there are existing libraries: https://github.com/rickclephas/NSExceptionKt https://crashkios.touchlab.co/docs/ Please follow the guides on installing them.
g
Nice thanks a lot I'll share this with the team and we'll review that.
f
Sentry is also a good alternative for analytics
👍 1
thank you color 1
g
I forgot to mention that our required got fulfilled by making an non static framework, configuring it as
isStatic = false
. The dsym files were generated, thanks for pointing this out @Artem Olkov 🎖️ .
K 1