Open GreatZheng2023 opened 1 year ago
That happened to me when I was trying to patch an old version of the ipa, get the newer version of the ipa your are trying to patch. Just in case create a dummy app with the same bundle identifier of this project.
error 信息如下:
Unable to install "IPAPatch-DummyApp" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653081 Recovery Suggestion: Please check your project settings and ensure that a valid product has been built. User Info: { DVTErrorCreationDateKey = "2023-07-31 07:43:30 +0000"; IDERunOperationFailingWorker = IDEInstalliPhoneLauncher; }
There was an internal API error. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653081 User Info: { DVTRadarComponentKey = 261622; MobileDeviceErrorCode = "(0xE8000067)"; "com.apple.dtdevicekit.stacktrace" = ( 0 DTDeviceKitBase 0x0000000111514b1c DTDKCreateNSErrorFromAMDErrorCode + 300 1 DTDeviceKitBase 0x0000000111549000 90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 136 2 DVTFoundation 0x00000001024afac8 DVTInvokeWithStrongOwnership + 76 3 DTDeviceKitBase 0x0000000111548d7c -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1208 4 IDEiOSSupportCore 0x000000010eeebce8 118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.147 + 2340 5 DVTFoundation 0x00000001025ba428 __DVT_CALLING_CLIENT_BLOCK + 16 6 DVTFoundation 0x00000001025bae94 DVTDispatchAsync_block_invoke + 152 7 libdispatch.dylib 0x000000019b90e874 _dispatch_call_block_and_release + 32 8 libdispatch.dylib 0x000000019b910400 _dispatch_client_callout + 20 9 libdispatch.dylib 0x000000019b917a88 _dispatch_lane_serial_drain + 668 10 libdispatch.dylib 0x000000019b9185f8 _dispatch_lane_invoke + 384 11 libdispatch.dylib 0x000000019b923244 _dispatch_workloop_worker_thread + 648 12 libsystem_pthread.dylib 0x000000019babc074 _pthread_wqthread + 288 13 libsystem_pthread.dylib 0x000000019babad94 start_wqthread + 8 ); }
Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : { "device_model" = "iPhone12,8"; "device_osBuild" = "16.1.2 (20B110)"; "device_platform" = "com.apple.platform.iphoneos"; "launchSession_schemeCommand" = Run; "launchSession_state" = 1; "launchSession_targetArch" = arm64; "operation_duration_ms" = 18350; "operation_errorCode" = "-402653081"; "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_checker_tpc_enable" = 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_testing_launchedForTesting" = 0; "param_testing_suppressSimulatorApp" = 0; "param_testing_usingCLI" = 0; "sdk_canonicalName" = "iphoneos16.4"; "sdk_osVersion" = "16.4"; "sdk_variant" = iphoneos; }
System Information
macOS Version 13.4.1 (c) (Build 22F770820d) Xcode 14.3 (21812) (Build 14E222b) Timestamp: 2023-07-31T15:43:30+08:00