Hi everyone. About this discussed thread for build...
# kotlin-native
p
Hi everyone. About this discussed thread for building multi-pods in multi-module projects world, is this limitation currently resolved or any workarounds available? https://kotlinlang.slack.com/archives/C3SGXARS6/p1631617605196000
⬆️ 1
k
You need to make one umbrella framework. Multiple Kotlin frameworks are totally distinct (and incompatible) at a binary level, even if they have the same Kotlin dependencies. The “workaround” is making a single framework with all of your Kotlin dependencies.
j
@kpgalligan Hi, can you please help me little bit with this problem ? What exactly does it mean to create single framework in this context ?
k
You create a gradle module that has the kotlin modules as dependencies, then export a framework. Like this: https://github.com/touchlab/KMMBridgeKickStart/blob/main/allshared/build.gradle.kts#L15
j
thanks
@kpgalligan amazing, works nicely 👍 thanks again