Unable to run my app on my device

I am asctually using OSX Catalina, Xcode 11


Unable to run my app on my iphone-x



Details


Unable to install "mrlightredux"

Domain: com.apple.dtdevicekit

Code: -402620392

Recovery Suggestion: The certificate used to sign "mrlightredux" has either expired or has been revoked. An updated certificate is required to sign and install the application.

--

The identity used to sign the executable is no longer valid.

Domain: com.apple.dtdevicekit

Code: -402620392

Failure Reason: Please verify that your device’s clock is properly set, and that your signing certificate is not expired. (0xE8008018).

User Info: {

DVTRadarComponentKey = 487927;

"com.apple.dtdevicekit.stacktrace" = (

0 DTDeviceKitBase 0x0000000122358047 DTDKCreateNSError + 109

1 DTDeviceKitBase 0x0000000122358749 DTDK_AMDErrorToNSError + 792

2 DTDeviceKitBase 0x0000000122397824 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 158

3 DVTFoundation 0x0000000108a80766 DVTInvokeWithStrongOwnership + 73

4 DTDeviceKitBase 0x00000001223975c1 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1589

5 IDEiOSSupportCore 0x0000000122220f6c __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4523

6 DVTFoundation 0x0000000108bb19ca __DVT_CALLING_CLIENT_BLOCK__ + 7

7 DVTFoundation 0x0000000108bb30a2 __DVTDispatchAsync_block_invoke + 809

8 libdispatch.dylib 0x00007fff71b80553 _dispatch_call_block_and_release + 12

9 libdispatch.dylib 0x00007fff71b814de _dispatch_client_callout + 8

10 libdispatch.dylib 0x00007fff71b86a9e _dispatch_lane_serial_drain + 597

11 libdispatch.dylib 0x00007fff71b87422 _dispatch_lane_invoke + 363

12 libdispatch.dylib 0x00007fff71b90aa1 _dispatch_workloop_worker_thread + 598

13 libsystem_pthread.dylib 0x00007fff71dda763 _pthread_wqthread + 290

14 libsystem_pthread.dylib 0x00007fff71dda5c3 start_wqthread + 15

);

}

--


I made a lot of different kind of attempts...


revoked all certificates, generated new certificate, provision profiles...Xcode can compile and sign...but when xcode starts to transfer to the device, this happens.

Replies

same issues any solutions

I get this issue 5x a day at least. New (early) 2019 MBP, running 10.14.6, Xcode 11.2.1.

I filed a bug.

All I can do is unplug and replug, or restart Xcode, or then its restart whole computer. :-( Very frustrating.

Wish I knew if it was a corrupt file, or simply a bug in Xcode.

Same issue
I know this is an old post, but i just ran into an issue with same error code: -402620392, where my app would not install on a physical device. I posted what worked for me on Stack Overflow, hope it helps!
My Stack Overflow Answer