Hey, I created a iOS module with the new `XCFramew...
# multiplatform
h
Hey, I created a iOS module with the new
XCFramework
. How can you bundle both variants (debug and release) in 1 single fat framework?
Copy code
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:
Copy code
- build
  - XCFrameworks
      - debug: common.xcframework
      - release: common.xcframework
https://youtrack.jetbrains.com/issue/KT-49541