Laurence Muller
08/08/2021, 12:12 AMiosTarget("ios") {
binaries {
framework {
baseName = "shared"
export("com.arkivanov.decompose:decompose:0.3.1")
export("com.arkivanov.essenty:lifecycle:0.1.2")
}
}
}
But what if I created my projects with the KMM plugin which by default sets it to the "CocoaPods dependency manager" how would I add those exports?
cocoapods {
summary = "Some description for the Shared Module"
homepage = "Link to the Shared Module homepage"
ios.deploymentTarget = "14.1"
frameworkName = "shared"
podfile = project.file("../iosApp/Podfile")
// How to include the same exports?
}
Viacheslav Kormushkin
08/08/2021, 6:39 AMcocoapods {
framework {
export(...)
}
}
Before that you can try a hack:
iosTarget("iOS") { binaries.getFramework("DEBUG").export(...)
}
Laurence Muller
08/09/2021, 12:38 PM