https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
p

Phạm Nhật

09/23/2022, 6:55 AM
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

kpgalligan

09/23/2022, 2:11 PM
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

Jiri Bruchanov

07/12/2023, 8:21 PM
@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

kpgalligan

07/12/2023, 8:34 PM
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

Jiri Bruchanov

07/12/2023, 8:41 PM
thanks
@kpgalligan amazing, works nicely 👍 thanks again
5 Views