hfhbd
11/01/2021, 3:30 PMXCFramework
. How can you bundle both variants (debug and release) in 1 single fat framework?
val xcf = XCFramework()
iosArm64 {
binaries {
framework {
baseName = "common"
export(projects.shared)
transitiveExport = true
xcf.add(this)
}
}
}
This creates the following 2 folders resulting in 2 frameworks:
- build
- XCFrameworks
- debug: common.xcframework
- release: common.xcframework
https://youtrack.jetbrains.com/issue/KT-49541