touchlab / KaMPKit

KaMP Kit by Touchlab. A collection of code & tools designed to get your mobile team started quickly w/Kotlin Multiplatform
https://touchlab.co/
Apache License 2.0
2.2k stars 199 forks source link

No dSYM file created when build main branch #197

Closed wuseal closed 2 years ago

wuseal commented 3 years ago

As shown in the title, No dSYM file generated after building an iOS app, Need we add configs like this?

targets.withType<KotlinNativeTarget> {
    binaries.all {
      freeCompilerArgs += "-Xadd-light-debug=enable"
    }
}

image

wuseal commented 3 years ago

Ref this: https://github.com/JetBrains/kotlin-native/issues/3531

It seems that KMM will not generate a dSYM file when we set the Framework to be static:

https://github.com/touchlab/KaMPKit/blob/4920da9f4d53fe2c153bd53322821d4f03439c36/shared/build.gradle.kts#L111-L118