LibIMobileDeviceException: MOBILE_IMAGE_MOUNTER_E_COMMAND_FAILED

478 views
Skip to first unread message

José Rodolfo Freitas

unread,
Oct 16, 2014, 4:48:02 AM10/16/14
to rob...@googlegroups.com
Hello,

I have a game using libgdx and robovm which runs perfectly fine over iOS7.
I was delaying the update to iOS8 because first I wanted to see the game stable. Today I updated to iOS8 and I had problems: The touch events weren't triggering any action and I also had a problem with aspect ratio (which seems a minor problem).

The first approach I decided to follow was updating robovm through eclipse and get the latest version. After the update I get the following exception:

[ERROR] AppLauncher failed with an exception:
[ERROR] org.robovm.libimobiledevice.LibIMobileDeviceException: MOBILE_IMAGE_MOUNTER_E_COMMAND_FAILED
[ERROR] at org.robovm.libimobiledevice.MobileImageMounterClient.checkResult(MobileImageMounterClient.java:209)
[ERROR] at org.robovm.libimobiledevice.MobileImageMounterClient.uploadImage(MobileImageMounterClient.java:177)
[ERROR] at org.robovm.libimobiledevice.util.AppLauncher.mountDeveloperImage(AppLauncher.java:635)
[ERROR] at org.robovm.libimobiledevice.util.AppLauncher.launchInternal(AppLauncher.java:673)
[ERROR] at org.robovm.libimobiledevice.util.AppLauncher.launch(AppLauncher.java:965)
[ERROR] at org.robovm.compiler.target.ios.AppLauncherProcess$1.run(AppLauncherProcess.java:67)

Does anyone know what the problem might be or care to give me some tips on debugging and finding the solution?

Best Regards,
José

Niklas Therning

unread,
Oct 16, 2014, 9:22:17 AM10/16/14
to José Rodolfo Freitas, rob...@googlegroups.com
I think this is a known bug when running against iOS 8 devices. The work around is to first run a sample app from within Xcode to get the developer image mounted on the device. Then you should be able to launch RoboVM apps again until you reboot your device.

--
You received this message because you are subscribed to the Google Groups "RoboVM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robovm+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

José Rodolfo Freitas

unread,
Oct 16, 2014, 9:41:05 AM10/16/14
to rob...@googlegroups.com, joserodol...@gmail.com
Thanks Niklas, the game started to work a couple of hours ago and I didn't know what I did to "fix" it. 
Now that you explained, I think it makes more sense.
Reply all
Reply to author
Forward
0 new messages