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?
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With