AloneMonkey / MonkeyDev

CaptainHook Tweak、Logos Tweak and Command-line Tool、Patch iOS Apps, Without Jailbreak.
GNU General Public License v3.0
6.54k stars 1.18k forks source link

xcode13.1 MonkeyDev在未越狱的真机上调试报错Unable to install #306

Open wennjiasheng opened 3 years ago

wennjiasheng commented 3 years ago

创建的monkeyDev工程在越狱的真机上可以调试,在未越狱的真机调试时报错Unable to install,详细信息如下: An unknown error has occurred. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620415 User Info: { DVTRadarComponentKey = 280331; MobileDeviceErrorCode = "(0xE8008001)"; "com.apple.dtdevicekit.stacktrace" = (

EvanTree commented 2 years ago

同样的问题,把build setting 最下面的MONKEYDEV_DEFAULT_BUNDLEID改为YES可以运行

thouger commented 2 years ago

感谢!

Beliefei commented 1 year ago
Unable to install "hhh"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620415
User Info: {
    DVTErrorCreationDateKey = "2023-05-18 13:13:46 +0000";
    IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
--
An unknown error has occurred.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620415
User Info: {
    DVTRadarComponentKey = 280331;
    MobileDeviceErrorCode = "(0xE8008001)";
    "com.apple.dtdevicekit.stacktrace" = (
    0   DTDeviceKitBase                     0x000000010fc50b1c DTDKCreateNSErrorFromAMDErrorCode + 300
    1   DTDeviceKitBase                     0x000000010fc85000 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 136
    2   DVTFoundation                       0x00000001017ffac8 DVTInvokeWithStrongOwnership + 76
    3   DTDeviceKitBase                     0x000000010fc84d7c -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1208
    4   IDEiOSSupportCore                   0x000000010fb3bce8 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.147 + 2340
    5   DVTFoundation                       0x000000010190a428 __DVT_CALLING_CLIENT_BLOCK__ + 16
    6   DVTFoundation                       0x000000010190ae94 __DVTDispatchAsync_block_invoke + 152
    7   libdispatch.dylib                   0x000000019d97e874 _dispatch_call_block_and_release + 32
    8   libdispatch.dylib                   0x000000019d980400 _dispatch_client_callout + 20
    9   libdispatch.dylib                   0x000000019d987a88 _dispatch_lane_serial_drain + 668
    10  libdispatch.dylib                   0x000000019d9885f8 _dispatch_lane_invoke + 384
    11  libdispatch.dylib                   0x000000019d993244 _dispatch_workloop_worker_thread + 648
    12  libsystem_pthread.dylib             0x000000019db2c074 _pthread_wqthread + 288
    13  libsystem_pthread.dylib             0x000000019db2ad94 start_wqthread + 8
);
}
--

Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_model" = "iPhone11,2";
    "device_osBuild" = "16.4.1 (20E252)";
    "device_platform" = "com.apple.platform.iphoneos";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 15588;
    "operation_errorCode" = "-402620415";
    "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.3.1 (a) (Build 22E772610a)
Xcode 14.3 (21812) (Build 14E222b)
Timestamp: 2023-05-18T21:13:46+08:00