I have created a new project and running the project on iOS 14.5.1 device with Xcode 12.5. But it is showing an error saying "Xcode failed to start remote service com.apple.debugserver on device"
I have tried all the below options
- Unpaired, paired the device.
- Restarted device.
- Restarted Xcode, Mac system.
Notes:
- If I run the app by disabling (Edit Scheme -> Info -> Debug Executable) options then it is working fine, but I can't debug with this option.
- If I run the app in the simulator in debug mode by enabling Debug Executable option then it is working fine.
Attaching a screenshot below for reference.