Cyrille QUÉMIN
09/04/2019, 9:55 AMw: Interop library /pathToUser/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-io-iosarm64/0.1.14/1ece4fc59ccddcacf23bb04589c7c0f39a94b787/kotlinx-io-cinterop-sockets can't be exported with -Xexport-library
. Will I experience runtime crashes ? what does it mean exactly for the framework produced ?Kris Wong
09/04/2019, 1:18 PMsvyatoslav.scherbina
09/05/2019, 8:32 AMcinterop
-provided library using export
in Gradle DSL. You most likely don’t need this.Cyrille QUÉMIN
09/05/2019, 1:10 PMcinterop
code in the code I wrote so I assume these are indirect dependencies. this is the initial problem I had:
I have 2 mpp modules A and B. B is using A as a dependency. I produced FAT frameworks from both of them, and include both framework in my iOS app. Everything is good so far. The problem is I have a type in module A Type1 which is used in module 2. But in my ios App if I try to use them together I have an incompatibility error where A.Type1 is said to be incompatible with B.Type1. Whereas they are supposed to be the exactly the same. How can I solve that?Cyrille QUÉMIN
09/05/2019, 1:12 PM// this is module A gradle file
iosArm32("ios32") {
binaries {
framework(){
export project(":module_B")
transitiveExport=true
}
}
}
svyatoslav.scherbina
09/05/2019, 1:44 PMso I assume these are indirect dependenciesMay be.
I have 2 mpp modules A and B. B is using A as a dependency.Why do you enable
transitiveExport
then?Kris Wong
09/05/2019, 1:49 PMKris Wong
09/05/2019, 1:50 PMCyrille QUÉMIN
09/05/2019, 3:33 PMCyrille QUÉMIN
09/05/2019, 3:33 PMtransitiveExport=true
so that the indirect dependencies are also exported. I forgot to mention that A depends on multi platform library that is published with gradle metadataKris Wong
09/05/2019, 3:38 PMapi
dependencies?Kris Wong
09/05/2019, 3:39 PMsvyatoslav.scherbina
09/06/2019, 7:13 AM. I forgot to mention that A depends on multi platform library that is published with gradle metadataDoes
transitiveExport
affect exporting dependencies of A here?Cyrille QUÉMIN
09/12/2019, 10:01 AMapi
dependencyCyrille QUÉMIN
09/12/2019, 10:47 AMtransitiveExport
then the multiplatform lib published with gradle metadata is not packaged and I have a compilation error in my iOS appsvyatoslav.scherbina
09/12/2019, 11:06 AMA
and B
which both are Gradle projects.Cyrille QUÉMIN
09/15/2019, 8:01 PMtransitiveExport=true
and export project B
otherwise I lack some of the dependencysvyatoslav.scherbina
09/16/2019, 8:57 AMotherwise I lack some of the dependencyWhat is “dependency” here? What do you mean by “lack”? Where is this “dependency” defined?
Cyrille QUÉMIN
10/03/2019, 2:18 PMsvyatoslav.scherbina
10/03/2019, 2:38 PM