Hello everyone! I'm starting a new KMP, and I was ...
# compose-ios
a
Hello everyone! I'm starting a new KMP, and I was wandering if for modular architecture, the use of an "umbrella" KMP module was still the recommended way to expose the share code to ios, or if things had change and we can now export our KMP modules as independant XCFramework?
1
p
As far as I'm aware, umbrella is still the way. There's a lot of talk of better modules with swift export but I don't know if that actually changes the multiple framework problems
a
Thanks for the answer! 🙂 I'll then go for an umbrella module
j
Swift Export should be able to better handle multiple modules.....there's example of that here I believe https://github.com/Kotlin/swift-export-sample
gratitude thank you 2
p
Right, it'll make the umbrella module better, but unless I'm missing something the umbrella module is still the solution right?
j
actually, yeah, it does look like that's still needed
👍 1
a
Thank you all for your answers, I actually didn't know about the Swift Export option, so even if it still requires an umbrella module, it looks great!
j
yeah, it's hopefully not too far away....Kotlin 2.2.20 will have initial experimental support (available in pre-release versions right now)
👍 1