Can anyone explain how come I'm able to 'step into' my kotlin code when debugging my XCFramework binary?
Seems the kotlin code is referencing my locally checked out repository...
f
François
12/02/2024, 6:59 AM
did you have a XCFramework built on release or debug?
m
markturnip
12/02/2024, 1:14 PM
release
f
François
12/02/2024, 1:45 PM
You can’t debug a RELEASE framework
m
markturnip
12/03/2024, 4:04 AM
yes I know that and hence why I’m asking.
If ‘stepping info’ my KMP framework Xcode will step into the assembly with no reference to the kotlin code.
However if I ‘step into’ my KMP framework on the machine in which I built the framework, then I am able to add breakpoints to the kotlin code (as screenshot)
I might add that I’m stepping using a swift package which owns the distributed xcframework and not using gradle.
I’m 100% using the release variant of the XCFramework.