https://kotlinlang.org logo
h

hsyogesh

09/30/2021, 4:22 PM
Hi all can we do a poc on Kotlin multiplatform in windows to verify only on Android, I understand we cannot for iOS as xcode is prerequisite
c

CLOVIS

09/30/2021, 4:59 PM
Kotlin Multiplatform can work with both Windows and iOS on the same project, you just can't compile / execute them on your current machine (without VMs). If you use a different computer to execute code for each platform, then you can use all of them.
h

hsyogesh

09/30/2021, 6:03 PM
@CLOVIS thanks for the reply, I know kmp can be used as a common business logic layer for both ios and Android for which it produces aar for Android and cocopods for ios, do you mean to say we can still do a development on Kotlin multiplatform using windows operating system
c

CLOVIS

09/30/2021, 6:33 PM
Yes, you can use any OS you want to write the code, but you can only compile code for compatible OSs Compatibility: • JVM: all OSs • Android: all OSs • JS: all OSs • Native Linux: all OSs • Native iOS/OSX: only OSX • Native Windows: only Windows
l

louiscad

10/01/2021, 4:16 PM
macOS, not OSX (The X in OS X stood for 10, but macOS is now at version 11 and counting).
c

CLOVIS

10/01/2021, 4:48 PM
Good to know 👍
h

hsyogesh

10/05/2021, 1:24 PM
@CLOVIS thanks for all suggestions, I was able to complete my poc with windows OS