Rohan Maity
02/24/2022, 1:34 AMMatthias Geisler
02/24/2022, 1:48 AM__attribute__
...there are also libraries like this one, but I am not sure if they are up to date.Rohan Maity
02/24/2022, 2:01 AM__attribute__
Let me look into the attribute, I hope this gradle task would be trivial to write
BTW do you have any example for thisMatthias Geisler
02/24/2022, 2:07 AMRohan Maity
02/24/2022, 2:42 AMade
02/24/2022, 6:40 AMade
02/24/2022, 6:42 AMval ios = listOf(iosX64(), iosArm64(), iosSimulatorArm64())
configure(ios) {
binaries {
framework {
baseName = "mykmp"
export(project(":moduleA))
...
you will also need to change the dependency from implementation to api in the dependencies blockPaul Woitaschek
02/24/2022, 2:19 PMRohan Maity
02/24/2022, 2:20 PMDo you mean that you have a dependency from the ios exported kmp module to another kmp module?no nothing is exported from iOS
Rohan Maity
02/24/2022, 2:20 PMRohan Maity
02/24/2022, 2:21 PMPaul Woitaschek
02/24/2022, 2:22 PMRohan Maity
02/24/2022, 2:25 PMPaul Woitaschek
02/24/2022, 2:25 PMRohan Maity
02/24/2022, 2:26 PM./gradlew build
after that it was able to generate the framework for both modulesPaul Woitaschek
02/24/2022, 2:28 PMPaul Woitaschek
02/24/2022, 2:28 PMRohan Maity
02/24/2022, 2:29 PMRohan Maity
02/24/2022, 2:29 PMPaul Woitaschek
02/24/2022, 2:30 PMRohan Maity
02/24/2022, 2:30 PMPaul Woitaschek
02/24/2022, 2:30 PMRohan Maity
02/24/2022, 2:31 PMaar
Rohan Maity
02/24/2022, 2:31 PMRohan Maity
02/24/2022, 2:31 PMRohan Maity
02/24/2022, 2:31 PMPaul Woitaschek
02/24/2022, 2:34 PMPaul Woitaschek
02/24/2022, 2:34 PMRohan Maity
02/24/2022, 2:35 PMPaul Woitaschek
02/24/2022, 2:36 PMRohan Maity
02/24/2022, 2:37 PMRohan Maity
02/25/2022, 2:33 AMexport
, the module which I have to export, how can I refer that in xcode?
Or would it be available under the module for which framework is generated?Paul Woitaschek
02/25/2022, 5:46 AM