I got a Kotlin app running on iOS


I created a test app using the libgdx (Java) game framework, with my code all written in Kotlin.

I used RoboVM to get the app running on iOS.

Here is a video (the app is only a proof of concept, it renders moving circles to show the game is running)



This is awesome. Could you please share your code?


The source code is nothing special, just a test of graphics using Libgdx libraries with a Kotlin project. The tricky part is RoboVM only has a plugin for eclipse, so I had to do things from the command line, and RoboVM documentation is still immature.

I made a github repo with the build script I ended up using.

RoboVM just turns Java bytecode into native code, so I don’t think it cares if the source was Java or Kotlin.