https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
i

ivan.savytskyi

06/03/2019, 8:42 PM
hey folks: does anyone have a workaround for the https://github.com/JetBrains/kotlin-native/issues/2423 except creating a surrogate module that includes all used KN modules and produces one big framework?
🚫 1
o

olonho

06/04/2019, 7:35 AM
you don’t need surrogate module with contents of all your modules, please use
-Xexport-library
flag, or DSL as in https://github.com/JetBrains/kotlin-native/commit/1ef76cf2899df2a62b66a2d3e5ce4b58cfadba14
i

ivan.savytskyi

06/04/2019, 8:38 PM
Sorry I probably wasn’t clear what I meant by
creating a surrogate module that includes all used KN modules and produces one big framework
. I was referring more to this restriction https://github.com/JetBrains/kotlin-native/issues/2423#issuecomment-466300153 And by surrogate I meant have the KN module that will depend on all others that will be consumed by iOS App.