Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not start com.apple.debugserver?

I was using the command idevicedebug . First it works well on iPhone 5c with iOS version 7.1 something & then i run it on iPhone 5s i get the following error. Why ?

Could not start com.apple.debugserver!
Please make sure to mount the developer disk image first:
1) Get the iOS version from `ideviceinfo -k ProductVersion`.
2) Find the matching iPhoneOS DeveloperDiskImage.dmg files.
3) Run `ideviceimagemounter` with the above path.

Command which i was using is

 idevicedebug run bundleid

Why is it so ? How do i solve it ?

like image 747
Bharat jain Avatar asked Sep 19 '25 04:09

Bharat jain


1 Answers

In order to use libimobiledevice tools on a device, first you will need to make sure that it is mounted with a developer image.

There are two ways to do that:

  1. Run any Xcode project on device, it will mount it automatically upon launching the app.

  2. libimobiledevice has multiple tools. One of them is 'ideviceimagemounter', use it to mount the proper ios version developer image on device. The developer image for 7.1 should be in the following path:

Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSup‌​port/7.1/

Hope it helped.

like image 126
Roy K Avatar answered Sep 22 '25 09:09

Roy K