Home>

If i try to debug a program created with swift
As the title says, "Unable to install app name" is displayed
I cannot debug the actual device.
In the simulator, it will compile and run.

Xcode 11.4.1
I get the same error on my iPad and on my iPhone.

Details are as follows.

Details

Unable to install "DJISDKSwiftDemo"
Domain: com.apple.dt.MobileDeviceErrorDomain

Code: -402620415

An unknown error has occurred.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620415
User Info: {
DVTRadarComponentKey = 280331;
MobileDeviceErrorCode = "(0xE8008001)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000012088d81a DTDKCreateNSErrorFromAMDErrorCode + 233
1 DTDeviceKitBase 0x00000001208cef7090- [DTDKMobileDeviceToken installApplicationBundleAtPath: withOptions: andError: withCallback:] _ block_invoke + 155 2 DVTFoundation 0x00000001075ea155 DVTInvokeWithStrongOwnership + 73 3 DTDeviceKitBase 0x00000001208ceca8-[DTDKMobileDeviceToken installApplicationBundleAtPath: withOptions: andError: withCallback:] + 1654 4 IDEiOSSupportCore 0x0000000120745e91118- [DVTiOSDevice (DVTiPhoneApplicationInstallation) processAppInstallSet: appUninstallSet: installOptions: completionBlock:] _ block_invoke.352 + 4165
5 DVTFoundation 0x000000010771d7f4DVT_CALLING_CLIENT_BLOCK + 7
6 DVTFoundation 0x000000010771f436 __DVTDispatchAsync_block_invoke + 1194
7 libdispatch.dylib 0x00007fff6cd0a6c4 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff6cd0b658 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff6cd10c44 _dispatch_lane_serial_drain + 597
10 libdispatch.dylib 0x00007fff6cd115d6 _dispatch_lane_invoke + 363
11 libdispatch.dylib 0x00007fff6cd1ac09 _dispatch_workloop_worker_thread + 596
12 libsystem_pthread.dylib 0x00007fff6cf65a3d _pthread_wqthread + 290
13 libsystem_pthread.dylib 0x00007fff6cf64b77 start_wqthread + 15
);

}

System Information

macOS Version 10.15.4 (Build 19E287)
Xcode 11.4.1 (16137)