I’m trying to release a library to my iOS team. Th...
# kotlin-native
s
I’m trying to release a library to my iOS team. The Debug version of the fat framework creates a DSYM folder, which is essential from my understanding to get desymbolicated stack traces. However, it’s also my understanding that the release version does certain optimizations in code. I want the optimizations, but I also want desymbolicated stack traces in production. Is this possible?
Copy code
tasks.create("buildReleaseFatFramework", org.jetbrains.kotlin.gradle.tasks.FatFrameworkTask::class) {
    baseName = iosFrameworkName

    destinationDir = File("$buildDir/fat-framework/release")

    from(
        iosX64.binaries.getFramework("RELEASE"),
        iosArm64.binaries.getFramework("RELEASE")
    )
}
k
I always found this to be the opposite of what I would expect as well, but haven't dug into it
s