Ivan Carracedo Asensio
12/03/2024, 6:20 PMcocoapods {
version = "1.0.0"
summary = "Some description for the Shared Module"
homepage = "Link to the Shared Module homepage"
ios.deploymentTarget = "14.1"
podfile = project.file("../iosApp/Podfile")
framework {
baseName = "shared"
isStatic = true
}
extraSpecAttributes["resources"] = "['src/commonMain/resources/**', 'src/iosMain/resources/**']"
pod("FirebaseAnalytics") {
version = "~> 10.13"
}
}
But what about integrating them and then exporting as XCFramework like this:?
val xcf = XCFramework()
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
baseName = "shared"
xcf.add(this)
isStatic = true
}
}
point is I don't want to integrate the shared module via pod, because I don't want pods in my final iosApp, is it achiveable? Can I add dependencies also with the XCFramework?
It is also related to the previous messagePablichjenkov
12/03/2024, 7:17 PMIvan Carracedo Asensio
12/03/2024, 7:34 PMPablichjenkov
12/03/2024, 8:06 PMIvan Carracedo Asensio
12/03/2024, 8:35 PM