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 ?
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:
Run any Xcode project on device, it will mount it automatically upon launching the app.
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/DeviceSupport/7.1/
Hope it helped.
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