How debug Kotlin on iOS with Xcode #40
Unanswered
amirhossein828
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently I am working on one KMM project. It would be really useful to be able to debug the shared code which is in kotlin in xcode project. I am aware of this solution but I have problem to tell Xcode that *.kt files are source files
to be more specific :
You need to tell Xcode that *.kt files are source files, and run an lldb formatter script when debugging starts. Advanced users may want to do this manually, but if you have Xcode installed in the default place, you can run the setup script. Unless you're using Xcode 11 (in which case look here for help), the following script will install both debugging and formatting support:
./setup.sh
I do not know where and how I should run the ./setup.sh or if there is another way to do it?
Beta Was this translation helpful? Give feedback.
All reactions