I was playing around with KMP building, testing some Android/iOS features. This was about a week or two ago. I noticed that whenever I am working in IntelliJ and make updates to the shared code in IntelliJ such as adding a function to a shared class, then switch over to Xcode to try and use this function, it takes a really long time for the function to show up in Xcode's autocomplete. The function is not recognized either and causes compilation errors. Sometimes it takes so long that I have to invalidate caches and restart in order for the function to show up in Xcode. Just thought I would mention this. Anyone else having issues like this?
Even if I edit the shared code in Xcode, the function/variable is not recognized. Also, there is no kotlin syntax highlighting in Xcode (not sure if this is possible to acheive), that is why I use IntelliJ b/c the syntax highlighting makes life a lot easier.
Using 2 IDE's is probably not the ideal way to go about things. I didn't try doing everything from Xcode. But if developing for multiplatform, eventually you will need at least 2 IDE's if you want to see the app in the emulator. At one point, I had 3 IDE's open (Android Studio, IntelliJ, Xcode) and my laptop crashed. (though I did have a ton of chrome tabs open and other programs running simultaneously). Just thought I'd share my experiences developing multiplat so far. Other than the little inconveniences that I frequently encounter, KMP has been pretty great.