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?

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