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
- Unpairing the device
- Restarting phone, xcode and Mac
- Renamed the Library/Developer and ~/Library/Developer folder
- untrusting the computer and trusting it again
Nothing seems to be working. How to resolve this?