Reputation: 191
I have an libGDX iOS application that works perfectly when testing in Eclipse via Run as iOS Device or Run as Simulator. However, when I use RoboVM Tools -> Package for App Store to get an .IPA file that I install on my iPad, it crashes after the libGDX splash screen.
It isn't a problem with provisionals or certificates since my Run Configurations are exactly the same as the options I used to export.
This problem seems to be pretty common after gradle build, but I have not found a solution yet. Can someone shed some light?
Thanks!!!
Upvotes: 3
Views: 894
Reputation: 11
I used the box2d in my project. And I got the same problem.
I created lib folder in iOS project, then copy the gdx-box2d-1.1.0.jar to that folder, and add it to the build path. The .ipa file worked.
(But it still didn't work on iOS 8.0)
Upvotes: 0
Reputation: 76
I had the problem (run without problems on simulator/device, but crash on Testflight by using ad-hoc generation). I fix it by upgraded libGDX / RoboVM version
Set libGDX in version 1.1.0 and RoboVM to the 0.14 snapshot (maybe not stable, but my game doesn't crash anymore)
I give you my gradle setting :
allprojects {
apply plugin: "eclipse"
apply plugin: "idea"
version = '1.0'
ext {
appName = 'flappy_gobelin'
gdxVersion = '1.1.0'
roboVMVersion = '0.0.14-SNAPSHOT'
}
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
}
Upvotes: 1