10

I have completed game on top of libgdx: https://play.google.com/store/apps/details?id=com.drobus.basketpro Is there any workable way to port it to iOS?

5
  • 2
    Isn't that the point of using libgdx?
    – keyser
    Aug 9, 2013 at 14:36
  • There is a lot to learn from. But I look for real example/experience Aug 9, 2013 at 14:45
  • @KolesnikovichDmitry did you manage to release the game in iOS? If so, how was the performance, app size, admob integration and google play game service integration? Jul 6, 2015 at 5:26
  • I use RoboVM now. It's good for simple games. robovm.com Jul 6, 2015 at 16:12
  • this is the game itself itunes.apple.com/app/id958917938 Jul 6, 2015 at 16:16

2 Answers 2

10

There are a couple options, but both are not truly production ready solutions. Options below are 'mostly' working. A few features will not work out of box without some custom handling (networking, sound, and a few others).

These methods work and are currently the best (easy) solutions available to you.

Note that RoboVM is supported by libGDX out-of-the-box as the default iOS target cross-compiler.

Update:

PS: RoboVM is not permanently free anymore. See here. You get a 30 day trial, then it costs 25$/month minimum.

2
  • RoboVM is still free for use with libGDX, and the second option has been deprecated in favor of RoboVM.
    – user
    Mar 17, 2016 at 8:02
  • RoboVM is now called mobidevelop RoboVM. You can find an updated tutorial here
    – Jesus
    Mar 6, 2017 at 12:03
1

A more recent guide on how to accomplish this can be found here:
https://medium.com/@apiric/deploying-your-libgdx-game-to-ios-testflight-163cada0696b

Short version:
Install RoboVM version 2.3.10-SNAPSHOT (link)
Create an Xcode project with the same build id as your Libgdx project
Run the Xcode project on your iPhone/iPad
Create an IOSLauncher.ipa file in Android Studio by typing .gradlew ios:createIPA
Create an “Apple Distribution” signing identity and an “App Store” provisioning profile
Install fastlane (link)
Certify and upload your project using fastlane

2
  • 1
    While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes.
    – Matt Ke
    Jun 6, 2020 at 15:47
  • I will make the proper adjustments. Jun 7, 2020 at 10:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.