Failed to start remote service "com.apple.debugserver" on device.

I have a problem as you see like

Failed to start remote service "com.apple.debugserver" on device. Please check your connection to your device.

Details

Failed to start remote service "com.apple.debugserver" on device.
Domain: com.apple.dtdevicekit
Code: 811
Recovery Suggestion: Please check your connection to your device.
User Info: {
  DVTRadarComponentKey = 261622;
}
  • -

The service is invalid.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653150
User Info: {
  DVTRadarComponentKey = 261622;
  MobileDeviceErrorCode = "(0xE8000022)";
  "com.apple.dtdevicekit.stacktrace" = (
0  DTDeviceKitBase           0x000000012cb2f99f DTDKCreateNSErrorFromAMDErrorCode + 220
1  DTDeviceKitBase           0x000000012cb3fb94 _63-[DTDKRemoteDeviceConnection startFirstServiceOf:unlockKeybag:]blockinvoke + 613
2  DTDeviceKitBase           0x000000012cb3f260
48-[DTDKRemoteDeviceConnection futureWithSession:]blockinvoke3 + 22
3  DTDeviceKitBase           0x000000012cb31aff _DTDKExecuteInSessionblockinvoke2 + 35
4  DTDeviceKitBase           0x000000012cb311d9 _DTDKExecuteWithConnectionblockinvoke2 + 218
5  DTDeviceKitBase           0x000000012cb310d6 _DTDKExecuteWithConnectionblockinvoke + 106
6  libdispatch.dylib          0x00007fff2016c7c7
dispatchclientcallout + 8
7  libdispatch.dylib          0x00007fff20179605 dispatchlanebarriersyncinvokeandcomplete + 60
8  DVTFoundation            0x000000010de0edf3 DVTDispatchBarrierSync + 208
9  DVTFoundation            0x000000010dde5ea6 -[DVTDispatchLock performLockedBlock:] + 60
10 DTDeviceKitBase           0x000000012cb30fd7 DTDKExecuteWithConnection + 226
11 DTDeviceKitBase           0x000000012cb319a3 DTDKExecuteInSession + 239
12 DTDeviceKitBase           0x000000012cb3f0b2
48-[DTDKRemoteDeviceConnection futureWithSession:]blockinvoke2 + 131
13 DVTFoundation            0x000000010de0c2ae DVTCALLINGCLIENTBLOCK + 7
14 DVTFoundation            0x000000010de0ded0
DVTDispatchAsyncblockinvoke + 1191
15 libdispatch.dylib          0x00007fff2016b5dd
dispatchcallblockandrelease + 12
16 libdispatch.dylib          0x00007fff2016c7c7 dispatchclientcallout + 8
17 libdispatch.dylib          0x00007fff201725fe
dispatchlaneserialdrain + 606
18 libdispatch.dylib          0x00007fff201730fe
dispatchlaneinvoke + 426
19 libdispatch.dylib          0x00007fff2017cc5d dispatchworkloopworkerthread + 819
20 libsystempthread.dylib       0x00007fff20314499 pthreadwqthread + 314
21 libsystem
pthread.dylib       0x00007fff20313467 start_wqthread + 15
);
}
  • -


System Information

macOS Version 11.0.1 (Build 20B29)
Xcode 12.2 (17535) (Build 12B45b)
Timestamp: 2020-11-18T19:29:59+03:00
I had this problem.
Restarting the phone solved it!
11
I am still facing the issue.. restarting xcode, restarting device, restarting macbook, nothing helped.
I have the exact same problem.
Even after updating macOS, Xcode and iOS (14.3), the problem still persits.

macOS Version 11.1 (Build 20C69)
Xcode 12.3 (17715) (Build 12C33)
Timestamp: 2020-12-18T11:56:00+01:00
Just unplugging the USB connection between Mac and iPhone, then plugging it in again, fixed the issue in my case.
For me, I think it was resolved by cleaning up my network settings (connected only via WiFi and manually configured (static) IPv4, disconnected a seperate ethernet adapter) and trying both a cable connection to the phone and via the network.

restart you device

restart your device IF FIXED

just need to disable and enable developer mode on the iPhone (this will require a reboot). Checked many times!

Failed to start remote service "com.apple.debugserver" on device.
 
 
Q