2,216 questions
0 votes
0 answers
35 views
Kotlin Multiplatform: Incompatible 'embedAndSign' Task with CocoaPods Dependencies in Xcode
I have a Kotlin Multiplatform Mobile project (KMP) targeting Android + iOS. My setup: Kotlin version: 2.2.21 Kotlin Multiplatform plugin: 2.2.21 CocoaPods plugin in build.gradle.kts: plugins { ...
-3 votes
0 answers
72 views
Black screen issue for the iOS platform during screen switch using Compose Multiplatform
During the development of the KMP + Compose application, I encountered an iOS-only UI issue. Video description of the rendering issue The problem looks like, when using the application in some random ...
-1 votes
0 answers
49 views
I cant seem to find a gradle task that runs all tests in my KMP project
I am working on a kmp project. I am implementing a multi-module architecture. I cant seem to find a gradle task that runs all tests in my project. All the tasks finish without finding any tests. I ...
Best practices
0 votes
0 replies
38 views
How to include Java in this project and enable mixed development with both Java and Kotlin
How to include Java in this project and enable mixed development with both Java and Kotlin. I want to know how to use Java and Kotlin interoperably in a Kotlin Multiplatform Compose Desktop project, ...
0 votes
0 answers
41 views
UIKitViewController in Compose Multiplatform loses state on device rotation
I am building a Kotlin Multiplatform app where I want to use shared UI with Compose for both Android and iOS. However, I need some native views with their own state for certain parts of the app, so I’...
1 vote
0 answers
63 views
Android emulator not running from Play button in both IntelliJ and Android Studio on Linux, but it does from command line, and logcat show nothing
PROBLEM Hi, I have IntelliJ Ultimate 2025.2.4, and Android Studio 2025.2.1. When I create a new default project in either one > download all the sources it needs > sync gradle > then click ...
-1 votes
0 answers
67 views
KMM - cannot see interface from Kotlin in IOS
I tried to follow: https://medium.com/@rishabh1112131415/how-to-handle-permissions-in-kotlin-multiplatform-without-external-libraries-05d7203237e3 but I get an error: No type named '...
0 votes
0 answers
80 views
Kotlin Multiplatform + Google Maps on iOS: Why do I still need .def file with SPM? Interop not working without cinterop
I am integrating Google Maps SDK for iOS into my Kotlin Multiplatform (KMP) project. Earlier I was using CocoaPods and everything was working. Now I migrated to Swift Package Manager (SPM) and removed ...
0 votes
0 answers
93 views
How to securely store values in iOS Keychain in a Kotlin Multiplatform (KMP) app? toNSData() not recognized
I’m building a Kotlin Multiplatform app (KMP) and want to store sensitive values like auth tokens securely on iOS using Keychain (instead of NSUserDefaults). I found this code on Medium, but it does ...
0 votes
1 answer
67 views
VLCJ on macOS in Kotlin Multiplatform project: Audio plays but no video rendering
I built a cross-platform project using Kotlin Multiplatform targeting Android, Windows, and macOS. Now, I need to implement a media player that must support HLS. Because of this, I ruled out the ...
1 vote
0 answers
87 views
Kotlin Multiplatform: Could not resolve <unknown coordinates> for iOS targets when building Google Maps module
I’m currently working on a Kotlin Multiplatform (KMP) project that includes a module for Google Maps integration (:core:maps:v2). Everything works fine on Android, but when I try to build for iOS, I ...
2 votes
0 answers
42 views
VNDocumentCameraViewController corrupting Compose's popup system on iOS
After using VNDocumentCameraViewController in Compose Multiplatform iOS, all popup-based components (AlertDialog, DatePickerDialog, ExposedDropdownMenuBox) stop working. Open AlertDialog - works fine ...
2 votes
1 answer
174 views
Android Waiting for Target Device to Come Online in IntelliJ and Android Studio
PROBLEM Hi, I'm getting an endless loop of "Waiting for all target devices to come online", or the emulator just shows the Android intro but never loads. The JVM version of the program runs ...
1 vote
0 answers
46 views
Unable to setup Kapt for dagger in kotlin multiplatform
I'm trying to set up Dagger in a Kotlin Multiplatform module for Android only as a POC for a migration of a project. Therefore, I needed to set up kapt and followed the instructions in Kmp in Kapt ...
2 votes
1 answer
123 views
How to create a searchable dropdown/autocomplete TextField in Jetpack Compose without the suggestion list stealing focus?
My Goal: I'm trying to implement an autocomplete TextField in Jetpack Compose. The desired behavior is: A user starts typing in a TextField. A list of suggestions, filtered by the user's input, ...