Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620388 Xcode 13.0 (19234) (Build 13A233)

Seems like there's a bug with code signing in Xcode... will load package on a simulator, but not on an actual device after creating an .ipa for development testing. There should be an update to fix this error. Details as follows:

Details


Domain: com.apple.dt.MobileDeviceErrorDomain

Code: -402620388

User Info: {

    IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;

}

--

No code signature found.

Domain: com.apple.dt.MobileDeviceErrorDomain

Code: -402620388

User Info: {

    DVTRadarComponentKey = 261622;

    MobileDeviceErrorCode = "(0xE800801C)";

    "com.apple.dtdevicekit.stacktrace" = (

	0   DTDeviceKitBase                     0x0000000125237316 DTDKCreateNSErrorFromAMDErrorCode + 220

	1   DTDeviceKitBase                     0x000000012527584a __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155

	2   DVTFoundation                       0x00000001064b6ed4 DVTInvokeWithStrongOwnership + 71

	3   DTDeviceKitBase                     0x0000000125275594 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1420

	4   IDEiOSSupportCore                   0x0000000117dedb4e __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3508

	5   DVTFoundation                       0x00000001065eac37 __DVT_CALLING_CLIENT_BLOCK__ + 7

	6   DVTFoundation                       0x00000001065ec3a3 __DVTDispatchAsync_block_invoke + 931

	7   libdispatch.dylib                   0x00007fff2035a623 _dispatch_call_block_and_release + 12

	8   libdispatch.dylib                   0x00007fff2035b806 _dispatch_client_callout + 8

	9   libdispatch.dylib                   0x00007fff203615ea _dispatch_lane_serial_drain + 606

	10  libdispatch.dylib                   0x00007fff203620ad _dispatch_lane_invoke + 366

	11  libdispatch.dylib                   0x00007fff2036bc0d _dispatch_workloop_worker_thread + 811

	12  libsystem_pthread.dylib             0x00007fff2050245d _pthread_wqthread + 314

	13  libsystem_pthread.dylib             0x00007fff2050142f start_wqthread + 15

);

}

--



Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {

    "device_model" = "iPhone8,4";

    "device_osBuild" = "14.6 (18F72)";

    "device_platform" = "com.apple.platform.iphoneos";

    "launchSession_schemeCommand" = Run;

    "launchSession_state" = 1;

    "launchSession_targetArch" = arm64;

    "operation_duration_ms" = 1948;

    "operation_errorCode" = "-402620388";

    "operation_errorDomain" = "com.apple.dt.MobileDeviceErrorDomain";

    "operation_errorWorker" = IDEInstalliPhoneLauncher;

    "operation_name" = IDEiPhoneRunOperationWorkerGroup;

    "param_consoleMode" = 0;

    "param_debugger_attachToExtensions" = 0;

    "param_debugger_attachToXPC" = 1;

    "param_debugger_type" = 5;

    "param_destination_isProxy" = 0;

    "param_destination_platform" = "com.apple.platform.iphoneos";

    "param_diag_MainThreadChecker_stopOnIssue" = 0;

    "param_diag_MallocStackLogging_enableDuringAttach" = 0;

    "param_diag_MallocStackLogging_enableForXPC" = 1;

    "param_diag_allowLocationSimulation" = 1;

    "param_diag_gpu_frameCapture_enable" = 0;

    "param_diag_gpu_shaderValidation_enable" = 0;

    "param_diag_gpu_validation_enable" = 0;

    "param_diag_memoryGraphOnResourceException" = 0;

    "param_diag_queueDebugging_enable" = 1;

    "param_diag_runtimeProfile_generate" = 0;

    "param_diag_sanitizer_asan_enable" = 0;

    "param_diag_sanitizer_tsan_enable" = 0;

    "param_diag_sanitizer_tsan_stopOnIssue" = 0;

    "param_diag_sanitizer_ubsan_stopOnIssue" = 0;

    "param_diag_showNonLocalizedStrings" = 0;

    "param_diag_viewDebugging_enabled" = 1;

    "param_diag_viewDebugging_insertDylibOnLaunch" = 1;

    "param_install_style" = 0;

    "param_launcher_UID" = 2;

    "param_launcher_allowDeviceSensorReplayData" = 0;

    "param_launcher_kind" = 0;

    "param_launcher_style" = 0;

    "param_launcher_substyle" = 0;

    "param_runnable_appExtensionHostRunMode" = 0;

    "param_runnable_productType" = "com.apple.product-type.application";

    "param_runnable_swiftVersion" = "5.5";

    "param_runnable_type" = 2;

    "param_testing_launchedForTesting" = 0;

    "param_testing_suppressSimulatorApp" = 0;

    "param_testing_usingCLI" = 0;

    "sdk_canonicalName" = "iphoneos15.0";

    "sdk_osVersion" = "15.0";

    "sdk_variant" = iphoneos;

}

--





System Information



macOS Version 11.6 (Build 20G165)

Xcode 13.0 (19234) (Build 13A233)

Timestamp: 2021-10-20T23:50:45-04:00

Solution to issue: Framework in Target (App) was set to "Embed Without Signing" which worked prior to Xcode 13, changed to "Embed & Sign"

I have the same issue. I'm breaking my head over this.

Any solutions found?

Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620388 Xcode 13.0 (19234) (Build 13A233)
 
 
Q