xcode-kotlin icon indicating copy to clipboard operation
xcode-kotlin copied to clipboard

Can set breakpoints in release build in Xcode, but debug build doesn't see Kotlin files at all

Open bodritto opened this issue 3 years ago • 0 comments

Hi!

I've installed plugin from CLI, added iosMain and commonMain as it's suggested in video tutorial

I observe crashes in my release build in iOS, and for some reason I see kotlin files in stack trace, and I can set breakpoints

image

Debug build doesn't allow to set breakpoints at all.

Output of xcode-kotlin info:

`Installed plugin version: 1.2.1 Bundled plugin version: 1.2.1

Language spec installed: Yes LLDB init installed: Yes LLDB Xcode init sources main LLDB init: No

Installed Xcode versions: ✔ Xcode 13.2.1 (13C90b) 7A3A18B7-4C08-46F0-A96A-AB686D315DF0 /Applications/Xcode.app

✔ - plugin is compatible, x - plugin is not compatible Run 'xcode-kotlin sync' to add compatibility for all listed Xcode versions.`

I've seen how files in filetree look like on the video (with Koltin icon), it's not like that for me:

image

I've checked KaMPKitiOS project and it's working fine.

This project is big, its main contributor has left and I need to make some support fixes for it. Also I'm not very experienced mobile developer but I have been writing some backend/web development for several years.

Thank you for any help!

bodritto avatar Aug 05 '22 13:08 bodritto