Hello eveyone, I'm implementing a new kmp module i...
# multiplatform
m
Hello eveyone, I'm implementing a new kmp module in my production app . What surprised me is that the IOS app incresead by 50 MB with just a simple KMP module. Any tips to optimize the kmp module size?
f
Release or debug?
a
Hi 🙂 At some point I've compiled a comment with description of how you should measure appsize and what you can do to affect it - https://youtrack.jetbrains.com/issue/KT-67000#focus=Comments-27-9725429.0-0
m
@François release
f
try this, it may help
But, you need to check the binary size of your application,
m
thank you very much @Artem Olkov and @François. I'll take a look in this documentation and share an update if it works
g
Hi everyone, I'm creating an umbrella module with several other modules to export just one framework for my iOS app to consume, but the .xcframework is exceeding 400 MB, even with a few modules and little complexity. The tendency is to add more modules and grow. Do you have any recommendations for reducing the size of the .xcframework (I'm generating the release framework using the podPublishReleaseXCFramework task)? Since I'm using SKIE, I couldn't test the solution suggested by @François, as it doesn't yet support Kotlin 2.2.20.