The Developer Disk Image needs to be mounted to the Apple mobile device (Xcode does this process automatically when an Apple device is connected to an Apple computer).
You need to install libimobiledevice library on your machine, which comes with the ideviceimagemounter
tool. Also, you need to have the correct DeveloperDiskImage and DeveloperDiskImage.signature that's version is the same as the mobile device's iOS version you are trying to connect with.
To use the ideviceimagemounter
:
ideviceimagemounter <pathToDeveloperDiskImage> <pathToDeveloperDiskImageSignature>
In case of multiple devices connected, specify the udid of the device:
ideviceimagemounter -u <udid> <pathToDeveloperDiskImage> <pathToDeveloperDiskImageSignature>
To get the UDID of the device:
idevice_id
You can get the DeveloperDiskImage and the Signature of your Apple computer from here:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
See this ubuntu manual page for more details.