How do I get past a "App installation failed" (com.apple.dtdevicekit) error

Does anyone know how to get past this error. I have not been able to run my app on device for days.


Unable to install "Hello World"
Domain: com.apple.dtdevicekit
Code: -402653172
--
App installation failed
Domain: com.apple.dtdevicekit
Code: -402653172
Failure Reason: The operation timed out.
User Info: {
    DVTRadarComponentKey = 487927;
    "com.apple.dtdevicekit.stacktrace" = (
  0   DTDeviceKitBase                     0x000000012616c6e7 DTDKCreateNSError + 109
  1   DTDeviceKitBase                     0x000000012616cde9 DTDK_AMDErrorToNSError + 792
  2   DTDeviceKitBase                     0x00000001261ac56a __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 164
  3   DVTFoundation                       0x000000010d447156 DVTInvokeWithStrongOwnership + 73
  4   DTDeviceKitBase                     0x00000001261ac301 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1589
  5   IDEiOSSupportCore                   0x0000000126034a25 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4523
  6   DVTFoundation                       0x000000010d5783ba __DVT_CALLING_CLIENT_BLOCK__ + 7
  7   DVTFoundation                       0x000000010d579a92 __DVTDispatchAsync_block_invoke + 809
  8   libdispatch.dylib                   0x00007fff64f00583 _dispatch_call_block_and_release + 12
  9   libdispatch.dylib                   0x00007fff64f0150e _dispatch_client_callout + 8
  10  libdispatch.dylib                   0x00007fff64f06ace _dispatch_lane_serial_drain + 597
  11  libdispatch.dylib                   0x00007fff64f07452 _dispatch_lane_invoke + 363
  12  libdispatch.dylib                   0x00007fff64f10a9e _dispatch_workloop_worker_thread + 598
  13  libsystem_pthread.dylib             0x00007fff6515e71b _pthread_wqthread + 290
  14  libsystem_pthread.dylib             0x00007fff6515e57b start_wqthread + 15
);
}

Replies

same issues any solutions

Restarting the device fixed it for me.

I also needed to connect my iPhone using a cable.

Hi,

Same issue I am facing. can you pleae help me how to resolve this


I am unable to install the app in phone

Using Xcode 11.4 beta fix the problem for me.

I am also facing the same problem. I restarted by phone and made build once again but still not working.

This problem is still occuring on Xcode 11.5 (16139) for me. I have filed a bug report. But the issue still happens.

same here. I deleted all the apps, updated ios and macos. Downloaded xcode again. Nope

Same here!!!!! I am trying to understand why Apple have not fixed this issue. As much as they put apps through for approval they release a lot of their own bugs for us to test and report back.
We are in November 2020 and I'm still having this issue...

I never thought I want to do my work desperately...

Xcode 14.0.1. The problem is relevant -_-.