# I got a Kotlin app running on iOS

**URL:** <https://discuss.kotlinlang.org/t/i-got-a-kotlin-app-running-on-ios/631>\
**Category:** Uncategorized\
**Created:** [March 15, 2014, 2:11pm UTC](https://discuss.kotlinlang.org/t/i-got-a-kotlin-app-running-on-ios/631 "2014-03-15T14:11:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrenner](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/jrenner/32/1472_2.png) [@jrenner](https://discuss.kotlinlang.org/u/jrenner)\
**Post date:** [March 15, 2014, 2:11pm UTC](https://discuss.kotlinlang.org/t/i-got-a-kotlin-app-running-on-ios/631/1 "2014-03-15T14:11:46Z")

</div>

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)

[https://www.youtube.com/watch?v=qdT8UuEDQts](https://www.youtube.com/watch?v=qdT8UuEDQts)

---

<div class="post-metadata">

**Author:** ![udalov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/udalov/32/5679_2.png) [@udalov](https://discuss.kotlinlang.org/u/udalov)\
**Post date:** [March 16, 2014, 2:15am UTC](https://discuss.kotlinlang.org/t/i-got-a-kotlin-app-running-on-ios/631/2 "2014-03-16T02:15:26Z")

</div>

This is awesome. Could you please share your code?

---

<div class="post-metadata">

**Author:** ![jrenner](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/jrenner/32/1472_2.png) [@jrenner](https://discuss.kotlinlang.org/u/jrenner)\
**Post date:** [March 16, 2014, 5:07am UTC](https://discuss.kotlinlang.org/t/i-got-a-kotlin-app-running-on-ios/631/3 "2014-03-16T05:07:38Z")

</div>

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.  
[https://github.com/jrenner/RoboVM.sh](https://github.com/jrenner/RoboVM.sh)

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