Hey, I've heard that ios has problems with handlin...
# multiplatform
j
Hey, I've heard that ios has problems with handling multiple multiplatform frameworks at once, is it the same with one framework created from multiple gradle modules? Can I split my project into module-per-layer and use it safely in ios project?
r
It's a limitation per iOS project, not per gradle module. That limitation has been relaxed some in 1.3.70, but I haven't had a chance to try it out yet. Previously the limitation existed because there could only be one version of Kotlin in the entire app. Now you can have multiple frameworks but they're each their own "world" as far as Kotlin is concerned, so Kotlin types that exist in both frameworks resolve as different types in Obj-C/Swift.
j
Cool beans, thanks for the answer!
k
If you're starting a new project. Go for 1.3.70 but if you're using an existing one and can't afford to migrate, create a "configuration" module which would consume multiple multiplatform modules which packages them into a framework so you only have one framework but still have all the modules.
z
Do you know what’s the current limitation?