I am unable to get applications to run on a physical iPhone 11 device from xcode. They work fine when the target is a simulator.
I am using the inital myapp to test this for simplicity.
The apps are successfully loaded on the physical iPhone and can be manually run with no problem.
The following error is given when xCode tries to run them (perhaps a firewall issue?):
Failed to start remote service 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 0x000000011d7c983d DTDKCreateNSErrorFromAMDErrorCode + 204
1 DTDeviceKitBase 0x000000011d7db171 __63-[DTDKRemoteDeviceConnection startFirstServiceOf:unlockKeybag:]_block_invoke + 564
2 DTDeviceKitBase 0x000000011d7da839 __48-[DTDKRemoteDeviceConnection futureWithSession:]_block_invoke_3 + 22
3 DTDeviceKitBase 0x000000011d7cbe04 __DTDKExecuteInSession_block_invoke_2 + 35
4 DTDeviceKitBase 0x000000011d7cb214 __DTDKExecuteWithConnection_block_invoke_2 + 473
5 DTDeviceKitBase 0x000000011d7cb012 __DTDKExecuteWithConnection_block_invoke + 106
6 libdispatch.dylib 0x00007fff6a85150e _dispatch_client_callout + 8
7 libdispatch.dylib 0x00007fff6a85d567 _dispatch_lane_barrier_sync_invoke_and_complete + 60
8 DVTFoundation 0x0000000103280584 DVTDispatchBarrierSync + 208
9 DVTFoundation 0x0000000103256edf -[DVTDispatchLock performLockedBlock:] + 64
10 DTDeviceKitBase 0x000000011d7caf13 DTDKExecuteWithConnection + 226
11 DTDeviceKitBase 0x000000011d7cbc6e DTDKExecuteInSession + 376
12 DTDeviceKitBase 0x000000011d7da67a __48-[DTDKRemoteDeviceConnection futureWithSession:]_block_invoke_2 + 131
13 DVTFoundation 0x000000010327da10 __DVT_CALLING_CLIENT_BLOCK__ + 7
14 DVTFoundation 0x000000010327f652 __DVTDispatchAsync_block_invoke + 1194
15 libdispatch.dylib 0x00007fff6a850583 _dispatch_call_block_and_release + 12
16 libdispatch.dylib 0x00007fff6a85150e _dispatch_client_callout + 8
17 libdispatch.dylib 0x00007fff6a856ace _dispatch_lane_serial_drain + 597
18 libdispatch.dylib 0x00007fff6a857485 _dispatch_lane_invoke + 414
19 libdispatch.dylib 0x00007fff6a860a9e _dispatch_workloop_worker_thread + 598
20 libsystem_pthread.dylib 0x00007fff6aaab6fc _pthread_wqthread + 290
21 libsystem_pthread.dylib 0x00007fff6aaaa827 start_wqthread + 15
);
}
--
System Information
macOS Version 10.15.3 (Build 19D76)
Xcode 11.4 (16132.1)