Details from Xcode
The title explains everything after I build I get the message, "Application installation failed" in the details, it shows the reason "Could not inspect the application package." I don't know what this means. I am new to Xcode.
Details
Unable to install "BBPlayer" Domain: com.apple.dtdevicekit Code:
-402653103
-- App installation failed Domain: com.apple.dtdevicekit Code: -402653103 Failure Reason: Could not inspect the application package. User Info: {
DVTRadarComponentKey = 487927;
"com.apple.dtdevicekit.stacktrace" = ( 0 DTDeviceKitBase 0x000000011a2c16e7 DTDKCreateNSError + 109 1 DTDeviceKitBase
0x000000011a2c1de9 DTDK_AMDErrorToNSError + 792 2 DTDeviceKitBase
0x000000011a30156a 90-[DTDKMobileDeviceToken
installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke
+ 164 3 DVTFoundation 0x00000001020ad156 DVTInvokeWithStrongOwnership + 73 4 DTDeviceKitBase
0x000000011a301301 -[DTDKMobileDeviceToken
installApplicationBundleAtPath:withOptions:andError:withCallback:] +
1589 5 IDEiOSSupportCore 0x000000011a189a25
__118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352
+ 4523 6 DVTFoundation 0x00000001021de3ba __DVT_CALLING_CLIENT_BLOCK + 7 7 DVTFoundation 0x00000001021dfa92 __DVTDispatchAsync_block_invoke + 809 8
libdispatch.dylib 0x00007fff6f96c583
_dispatch_call_block_and_release + 12 9 libdispatch.dylib 0x00007fff6f96d50e _dispatch_client_callout + 8 10 libdispatch.dylib
0x00007fff6f972ace _dispatch_lane_serial_drain + 597 11
libdispatch.dylib 0x00007fff6f973452
_dispatch_lane_invoke + 363 12 libdispatch.dylib 0x00007fff6f97ca9e _dispatch_workloop_worker_thread + 598 13
libsystem_pthread.dylib 0x00007fff6fbc671b
_pthread_wqthread + 290 14 libsystem_pthread.dylib 0x00007fff6fbc657b start_wqthread + 15 ); }
Please try to find a detailed error description in the device Console.
Xcode->Window->Device and Simulators->select your device->Open Console
You can filter or search installd process messages.
Related
I'm running a sample project on Xcode 11.3.1, MacOS 10.14.5.
When I try to debug my app on an iPhone 6s, iOS 15.3.1, with extra support file installed for iOS 15.3, I got 'Unable to install "<app_name>"' dialog with following details.
Details
Unable to install "BtSoundTest"
Domain: com.apple.dtdevicekit
Code: -402620375
--
App installation failed
Domain: com.apple.dtdevicekit
Code: -402620375
Failure Reason: An unexpected error was encountered (0xE8008029)
User Info: {
DVTRadarComponentKey = 487927;
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000011b60e6e7 DTDKCreateNSError + 109
1 DTDeviceKitBase 0x000000011b60ede9 DTDK_AMDErrorToNSError + 792
2 DTDeviceKitBase 0x000000011b64e56a __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 164
3 DVTFoundation 0x000000010179cc12 DVTInvokeWithStrongOwnership + 73
4 DTDeviceKitBase 0x000000011b64e301 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1589
5 IDEiOSSupportCore 0x000000011b4d6a25 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4523
6 DVTFoundation 0x00000001018cde7a __DVT_CALLING_CLIENT_BLOCK__ + 7
7 DVTFoundation 0x00000001018cf552 __DVTDispatchAsync_block_invoke + 809
8 libdispatch.dylib 0x00007fff578265f8 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00007fff5782763d _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff5782d8e0 _dispatch_lane_serial_drain + 602
11 libdispatch.dylib 0x00007fff5782e396 _dispatch_lane_invoke + 385
12 libdispatch.dylib 0x00007fff578366ed _dispatch_workloop_worker_thread + 598
13 libsystem_pthread.dylib 0x00007fff57a67611 _pthread_wqthread + 421
14 libsystem_pthread.dylib 0x00007fff57a673fd start_wqthread + 13
);
}
--
Certificate is ok, i'm not having latin characters, i didn't add any new ressources or folder, it has been working for days and today it's stopped i'm getting this error before installing on ipad:
Unable to install "myApplication"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653103
--
Could not inspect the application package.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653103
User Info: {
DVTRadarComponentKey = 282703;
MobileDeviceErrorCode = "(0xE8000051)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x0000000128f893b8 DTDKCreateNSErrorFromAMDErrorCode + 220
1 DTDeviceKitBase 0x0000000128fc7ae1 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x000000010f5d1b7c DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x0000000128fc7822 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
4 IDEiOSSupportCore 0x0000000128e38999 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.294 + 3534
5 DVTFoundation 0x000000010f704931 __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x000000010f70655b __DVTDispatchAsync_block_invoke + 1191
7 libdispatch.dylib 0x00007fff20506603 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff205077e6 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff2050d5ca _dispatch_lane_serial_drain + 606
10 libdispatch.dylib 0x00007fff2050e08d _dispatch_lane_invoke + 366
11 libdispatch.dylib 0x00007fff20517bed _dispatch_workloop_worker_thread + 811
12 libsystem_pthread.dylib 0x00007fff206ae4c0 _pthread_wqthread + 314
13 libsystem_pthread.dylib 0x00007fff206ad493 start_wqthread + 15
);
}
--
System Information
macOS Version 11.3.1 (Build 20E241)
Xcode 12.5 (18205) (Build 12E262)
Timestamp: 2021-09-29T18:22:35+02:00
Any help will be appreciated
I am getting an error when trying to debug iOS 14.1 iPhone using Xcode 11.3.1. It installs the app fine but doesn't debug. I get this error. Anybody able got this and able to resolve this?
An error was encountered while attempting to communicate with this device. (The service is…
Please try rebooting and reconnecting the device. (0xE8000022).
Details of the error log is below:
An error was encountered while attempting to communicate with this device. (The service is invalid.)
Domain: com.apple.dtdevicekit
Code: -402653150
Failure Reason: Please try rebooting and reconnecting the device. (0xE8000022).
User Info: {
DVTRadarComponentKey = 487927;
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x0000000126ca76e7 DTDKCreateNSError + 109
1 DTDeviceKitBase 0x0000000126ca7de9 DTDK_AMDErrorToNSError + 792
2 DTDeviceKitBase 0x0000000126cb8d0c __63-[DTDKRemoteDeviceConnection startFirstServiceOf:unlockKeybag:]_block_invoke + 301
3 DTDeviceKitBase 0x0000000126cb84db __48-[DTDKRemoteDeviceConnection futureWithSession:]_block_invoke_3 + 22
4 DTDeviceKitBase 0x0000000126caa15f __DTDKExecuteInSession_block_invoke_2 + 35
5 DTDeviceKitBase 0x0000000126ca9593 __DTDKExecuteWithConnection_block_invoke_2 + 473
6 DTDeviceKitBase 0x0000000126ca9391 __DTDKExecuteWithConnection_block_invoke + 106
7 libdispatch.dylib 0x00007fff7302463d _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff73030129 _dispatch_lane_barrier_sync_invoke_and_complete + 60
9 DVTFoundation 0x000000010b1d8110 DVTDispatchBarrierSync + 208
10 DVTFoundation 0x000000010b1af538 -[DVTDispatchLock performLockedBlock:] + 64
11 DTDeviceKitBase 0x0000000126ca9292 DTDKExecuteWithConnection + 226
12 DTDeviceKitBase 0x0000000126ca9fc9 DTDKExecuteInSession + 376
13 DTDeviceKitBase 0x0000000126cb8410 __48-[DTDKRemoteDeviceConnection futureWithSession:]_block_invoke_2 + 112
14 DVTFoundation 0x000000010b1d5e7a DVT_CALLING_CLIENT_BLOCK + 7
15 DVTFoundation 0x000000010b1d7552 __DVTDispatchAsync_block_invoke + 809
16 libdispatch.dylib 0x00007fff730235f8 _dispatch_call_block_and_release + 12
17 libdispatch.dylib 0x00007fff7302463d _dispatch_client_callout + 8
18 libdispatch.dylib 0x00007fff7302a8e0 _dispatch_lane_serial_drain + 602
19 libdispatch.dylib 0x00007fff7302b396 _dispatch_lane_invoke + 385
20 libdispatch.dylib 0x00007fff730336ed _dispatch_workloop_worker_thread + 598
21 libsystem_pthread.dylib 0x00007fff73264611 _pthread_wqthread + 421
22 libsystem_pthread.dylib 0x00007fff732643fd start_wqthread + 13
);
}
gives an error when connecting a second iPhone, details of the error are presented below.
I also tried to fix the error by the answers in another discussion: https://apple.stackexchange.com/questions/242678/xcode-error-the-maximum-number-of-apps-for-free-development-profiles-has-been-re
did not help
Details
Unable to install "App"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620383
--
The maximum number of apps for free development profiles has been reached.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620383
User Info: {
DVTRadarComponentKey = 487925;
MobileDeviceErrorCode = "(0xE8008021)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x00000001276e481a DTDKCreateNSErrorFromAMDErrorCode + 233
1 DTDeviceKitBase 0x0000000127725f70 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x000000010e3faf25 DVTInvokeWithStrongOwnership + 73
3 DTDeviceKitBase 0x0000000127725ca8 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1654
4 IDEiOSSupportCore 0x000000012759ce91 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4165
5 DVTFoundation 0x000000010e52e5c4 __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x000000010e530206 __DVTDispatchAsync_block_invoke + 1194
7 libdispatch.dylib 0x00007fff6db806c4 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff6db81658 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff6db86c44 _dispatch_lane_serial_drain + 597
10 libdispatch.dylib 0x00007fff6db875d6 _dispatch_lane_invoke + 363
11 libdispatch.dylib 0x00007fff6db90c09 _dispatch_workloop_worker_thread + 596
12 libsystem_pthread.dylib 0x00007fff6dddba3d _pthread_wqthread + 290
13 libsystem_pthread.dylib 0x00007fff6dddab77 start_wqthread + 15
);
}
--
I had that error 1 time, restart my Mac and in XCode I entered my Apple account again and the error disappeared.
Or maybe you can make another account and use it, sometimes xcode goes crazy, it has worked for me to close it and restart it, I hope it helps you.
Error Detail :
Details
Unable to install "IntegrationApp"
Domain: com.apple.dtdevicekit
Code: -402620415
--
App installation failed
Domain: com.apple.dtdevicekit
Code: -402620415
Failure Reason: An unknown error has occurred.
User Info: {
DVTRadarComponentKey = 487927;
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x00000001201796e7 DTDKCreateNSError + 109
1 DTDeviceKitBase 0x0000000120179de9 DTDK_AMDErrorToNSError + 792
2 DTDeviceKitBase 0x00000001201b956a __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 164
3 DVTFoundation 0x0000000106181c12 DVTInvokeWithStrongOwnership + 73
4 DTDeviceKitBase 0x00000001201b9301 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1589
5 IDEiOSSupportCore 0x0000000120041a25 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4523
6 DVTFoundation 0x00000001062b2e7a __DVT_CALLING_CLIENT_BLOCK__ + 7
7 DVTFoundation 0x00000001062b4552 __DVTDispatchAsync_block_invoke + 809
8 libdispatch.dylib 0x00007fff5be875f8 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00007fff5be8863d _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff5be8e8e0 _dispatch_lane_serial_drain + 602
11 libdispatch.dylib 0x00007fff5be8f396 _dispatch_lane_invoke + 385
12 libdispatch.dylib 0x00007fff5be976ed _dispatch_workloop_worker_thread + 598
13 libsystem_pthread.dylib 0x00007fff5c0c8611 _pthread_wqthread + 421
14 libsystem_pthread.dylib 0x00007fff5c0c83fd start_wqthread + 13
);
}
--
Please check that your apple id is associated with the developer account.
I had same problem and sorted out by changing the my apple id