Just to add to my previous points, this is my structure. I see some examples where debugging works (either in AppCode or XCode) with everything in a single repo, but not with this kind of split structure
Single repo does not matter. If you’re using the Kotlin cocoapods plugin, that builds a static framework, which won’t work for compiling. We have a forked version of the Kotlin cocoapods plugin, which allows you to specify a dynamic framework, to reenable debugging. This is all evolving now (we have active PRs), but that’s the summary: https://github.com/touchlab/KaMPKit/blob/master/shared/build.gradle.kts#L97
kpgalligan
04/30/2020, 3:26 PM
So, summary, in your care, if you make your KMP framework a dynamic framework, debugging should work.