A developer disk image could not be mounted on this device. Network error occurred.

Using Xcode 15.4, iPhone 11 in iOS 17.5.1. Mac OS is Sonoma 14.5. Not able to debug on my device. When I try to run my application on the device from Xcode it is always showing Waiting to reconnect to phone. Previous preparation error: The developer disk image could not be mounted on this device. A networking error occurred.

Tried below steps

  1. Unpairing the device
  2. Restarting phone, xcode and Mac
  3. Renamed the Library/Developer and ~/Library/Developer folder
  4. untrusting the computer and trusting it again

Nothing seems to be working. How to resolve this?

The issue is now resolved. One of the client connector applications used in my Mac was causing the issue.

Hey @arnair: Could you kindly elaborate what application was creating the conflict? I'm literally stuck for 2 days trying to install a simple app with a few screens on my phone and I can't get past this error. Much appreciate your help.

A developer disk image could not be mounted on this device. Network error occurred.
 
 
Q