Hey everyone. I recently found on JB site that KMP plugin is only supported on Intellij IDEA 2025.1.1 and Android Studio Narwahl Canary 10. Does this mean KMP replaces CMP plugin? I have successfully run CMP projects on Android Studio (lower versions) using CMP plugin without issues.
What's the difference between CMP and KMP plugins?
I would appreciate any clarifications.
f
François
05/25/2025, 1:04 PM
The CMP plugin is apparently in maintenance mode from his plugin description.
m
Mehdi Haghgoo
05/25/2025, 1:05 PM
Yes, you are right, with the capabilities getting integrated to KMP.
So, I guess one way to use KMP (given that it is not yet available for Win/Linux) is to create the project on Mac and then build it on other platforms (to get binaries for those platforms).
j
Jack Boswell
05/25/2025, 1:09 PM
KMP targets can be compiled from many different host platforms, not just macOS
Though thanks to Apple you do need to be running under macOS to compile apple targets (the exception being library projects, there's an experimental flag that lets you get around that requirement)
m
Mehdi Haghgoo
05/25/2025, 1:10 PM
@Jack Boswell The experimental flag allows generating dmg binaries on non-apple hardware?
j
Jack Boswell
05/25/2025, 1:12 PM
No, it lets you produce Kotlin libraries that would be used in Kotlin projects targeting apple platforms. Any native apple binaries still need to be compiled under macOS