java.io.IOException: Failed to mount DeveloperDiskImage.dmg on the device.

582 views
Skip to first unread message

Nick Susha

unread,
Apr 16, 2014, 5:34:31 AM4/16/14
to rob...@googlegroups.com

I launch my app in Eclipse with "Run As" -> "iOS Device App" and get I an exception 

4/16/14 12:30:24 PM: [DEBUG] Looking up developer disk image for iOS version 7.1 (11D167) in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

4/16/14 12:30:24 PM: [DEBUG] Copying developer disk image /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.1 (11D167)/DeveloperDiskImage.dmg to device

4/16/14 12:30:26 PM: [DEBUG] Mounting developer disk image

4/16/14 12:30:26 PM: [ERROR] AppLauncher failed with an exception:

4/16/14 12:30:26 PM: [ERROR] java.io.IOException: Failed to mount /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.1 (11D167)/DeveloperDiskImage.dmg on the device.

4/16/14 12:30:26 PM: [ERROR] at org.robovm.libimobiledevice.util.AppLauncher.mountDeveloperImage(AppLauncher.java:604)

4/16/14 12:30:26 PM: [ERROR] at org.robovm.libimobiledevice.util.AppLauncher.launchInternal(AppLauncher.java:625)

4/16/14 12:30:26 PM: [ERROR] at org.robovm.libimobiledevice.util.AppLauncher.launch(AppLauncher.java:801)

4/16/14 12:30:26 PM: [ERROR] at org.robovm.compiler.target.ios.AppLauncherProcess$1.run(AppLauncherProcess.java:67)

Dmitry Kolesnikovich

unread,
Apr 17, 2014, 1:47:07 AM4/17/14
to rob...@googlegroups.com
Help, please, work blocking issue, can not launch app from inside Eclipse!

Eric Nondahl

unread,
Apr 17, 2014, 3:22:25 PM4/17/14
to rob...@googlegroups.com
What version RoboVM are you using? I'm not having any issues like this, currently on 0.0.10

Dmitry Kolesnikovich

unread,
Apr 18, 2014, 2:46:30 AM4/18/14
to rob...@googlegroups.com

Dmitry Kolesnikovich

unread,
Apr 19, 2014, 5:08:22 AM4/19/14
to rob...@googlegroups.com

May be somebody solved "Unknown or unsupported SDK version: 6.1"? I get this when try to launch app in Eclipse using iOS 6 Simulator

4/19/14 12:02:34 PM: [ERROR] Unknown or unsupported SDK version: 6.1

4/19/14 12:02:34 PM: [ERROR] Simulator SDK Roots:

4/19/14 12:02:34 PM: [ERROR] 'Simulator - iOS 7.1' (7.1)

4/19/14 12:02:34 PM: [ERROR] /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk

Niklas Therning

unread,
Apr 20, 2014, 2:04:09 AM4/20/14
to Dmitry Kolesnikovich, rob...@googlegroups.com
@Nick: Please give some details about your device. Which iOS version is it running? Are you able to launch a simple ObjC app on it from within Xcode?

@Dmitry: Your issue is not related to Nick's. You probably just need to download an iOS 6 simulator image. Open Xcode, go to Preferences in the menu and then the Downloads tab. 


--
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.

Dmitry Kolesnikovich

unread,
Apr 20, 2014, 10:49:32 AM4/20/14
to rob...@googlegroups.com, Dmitry Kolesnikovich
Applying new update for XCode fixed my issue.

s...@imagnity.com

unread,
Apr 22, 2014, 4:25:22 PM4/22/14
to rob...@googlegroups.com
I get the exact error. Latest IOS (7.1.1), JDK (1.7.0_55), RoboVM (0.0.12.201404220002)

After it fails, I see the app in iPad2 but with a Launcher ICON from a very old project when I last installed like 6 months ago. Not sure where this ICON coming from as I have replaced it.

Also, even in iPad2, the simple game is super jerky which was not the case 6 months ago. Nothing changed in the game as I am about to resume dev't. That one I have to investigate as it can come from new version of libGDX (1.0).

But in the meantime how do we solve this-

4/23/14 4:14:31 AM: [ERROR] AppLauncher failed with an exception:

4/23/14 4:14:31 AM: [ERROR] java.io.IOException: Failed to mount /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.1 (11D167)/DeveloperDiskImage.dmg on the device.

4/23/14 4:14:31 AM: [ERROR] at org.robovm.libimobiledevice.util.AppLauncher.mountDeveloperImage(AppLauncher.java:604)

4/23/14 4:14:31 AM: [ERROR] at org.robovm.libimobiledevice.util.AppLauncher.launchInternal(AppLauncher.java:625)

4/23/14 4:14:31 AM: [ERROR] at org.robovm.libimobiledevice.util.AppLauncher.launch(AppLauncher.java:801)

4/23/14 4:14:31 AM: [ERROR] at org.robovm.compiler.target.ios.AppLauncherProcess$1.run(AppLauncherProcess.java:67)

Thank you.


Niklas Therning

unread,
Apr 22, 2014, 4:30:12 PM4/22/14
to s...@imagnity.com, rob...@googlegroups.com
Xcode version?


Saj

unread,
Apr 22, 2014, 4:38:44 PM4/22/14
to rob...@googlegroups.com, s...@imagnity.com
Sorry forgot to provide. It's also latest. Version 5.1.1 (5B1008). I updated everything as it states in RoboVM.

Saj

unread,
Apr 22, 2014, 4:40:48 PM4/22/14
to rob...@googlegroups.com, s...@imagnity.com
Just tried in iPhone 4 and the same error. Launcher image is the default one with grid and circles. I restarted Eclipse, Mavericks, etc. 

Niklas Therning

unread,
Apr 23, 2014, 2:11:53 AM4/23/14
to Saj, rob...@googlegroups.com
I just got the "IOException: Failed to mount" myself. Retrying the launch helped for me. My guess is that the developer image actually gets mounted properly but for some reason (maybe a timeout?) it doesn't return true. But then when I relaunch it has already been mounted properly and the launch can proceed.

Everyone who sees this problem, please let me know if a relaunch works.

Niklas Therning

unread,
Apr 23, 2014, 2:24:06 AM4/23/14
to Saj, rob...@googlegroups.com
Correction: merely relaunching doesn't help, I also launched Xcode which seems to be what made it work. So if you run into this problem please just launch Xcode with your device connected and then retry the launch using RoboVM. It seems like Xcode mounts the developer image properly so that RoboVM doesn't have to. I have logged this issue: https://github.com/robovm/robovm/issues/320

Saj

unread,
Apr 23, 2014, 11:20:23 AM4/23/14
to rob...@googlegroups.com, Saj
Yes, that fixes the error. Thank you.
Reply all
Reply to author
Forward
0 new messages