Hello everyone! I have a small but annoying bug in...
# multiplatform
l
Hello everyone! I have a small but annoying bug in Android Studio and generally every JetBrains IDE. I have a KMP app (shared logic, native UI). When I open any .swift file in Android Studio from the iosApp, I get no syntax highlighting and the message "Generating Objective-C bridging for Kotlin:" appears in the top-right corner and it never finishes. Sometimes it works on the first try, but most of the time it just hangs indefinitely and I have to cancel it manually. My setup: - Android Studio Narwhal (AI-253.x) - Kotlin Multiplatform plugin (latest, 0.9.x) - K2 mode enabled - macOS, Apple Silicon - KMP project with native Swift UI (no Compose on iOS) I've already tried: - Adding kotlin.native.cacheKind=static and related flags to gradle.properties - Increasing JVM heap - Reinstalling the KMP plugin - Clearing Gradle and IDE caches Is this a known issue? Is there a workaround? I found YouTrack issue KMT-2057 which seems related, but it's been open since January 2026 with no fix yet. Any help appreciated!
p
I will bring this under the team's attention. Any reason why you are AS Narwhal still?
Would you mind to log this on our tracker? The KMT project is the correct one, thanks.
l
I'm on AS Panda 4, sorry for the confusion 😅 Will log this on the tracker, thanks tho for the reply!
p
🙂 Thank you! If you want me to keep an eye on the issue, please add the issue link here. Thanks 🙂
l
https://youtrack.jetbrains.com/issue/KMT-2449 Here is the link to my issue 🙂