I have a problem every time I run my app that was built using libgdx/robovm. The build succeeds, but every time I open the app, I get the following stack trace:
java.lang.NoClassDefFoundError: org/robovm/objc/$M
at org.robovm.apple.foundation.NSObject.init(NSObject.java)
at org.robovm.apple.foundation.NSObject.<init>(NSObject.java)
at org.robovm.apple.foundation.NSAutoreleasePool.<init>(NSAutoreleasePool.java)
at my.app.IOSLauncher.main(IOSLauncher.java)
I'm using the latest versions of robovm, Xcode, and JDK 8.
Any idea why this happens?
I'm not sure what caused this exception, but updating to LibGDX 1.6.0 and RoboVM 1.2.0 solved this issue for me.
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