xcode15运行monkeyDev报错求助,macOS14.5 m3芯片

逆向的是微信,首次Run可以安装成功,不卸载再次Run就会出错,安装成功的微信也出现了闪退,以下是不卸载再次Run错误log,求大佬指导。

无法安装“微信”
Domain: IXUserPresentableErrorDomain
Code: 1
Recovery Suggestion: Failed to load Info.plist from bundle at path /private/var/containers/Bundle/Application/03A3A55B-46CD-4B07-BC1F-4012436AA7E1/WeChatMonkey.app/PlugIns/WeChatSiriExtensionUI.appex; Extra info about "/private/var/containers/Bundle/Application/03A3A55B-46CD-4B07-BC1F-4012436AA7E1/WeChatMonkey.app/PlugIns/WeChatSiriExtensionUI.appex/Info.plist": Couldn't stat /private/var/containers/Bundle/Application/03A3A55B-46CD-4B07-BC1F-4012436AA7E1/WeChatMonkey.app/PlugIns/WeChatSiriExtensionUI.appex/Info.plist: No such file or directory
User Info: {
    DVTErrorCreationDateKey = "2024-07-12 08:42:21 +0000";
    IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
}
--
无法安装“微信”
Domain: IXUserPresentableErrorDomain
Code: 1
Recovery Suggestion: Failed to load Info.plist from bundle at path /private/var/containers/Bundle/Application/03A3A55B-46CD-4B07-BC1F-4012436AA7E1/WeChatMonkey.app/PlugIns/WeChatSiriExtensionUI.appex; Extra info about "/private/var/containers/Bundle/Application/03A3A55B-46CD-4B07-BC1F-4012436AA7E1/WeChatMonkey.app/PlugIns/WeChatSiriExtensionUI.appex/Info.plist": Couldn't stat /private/var/containers/Bundle/Application/03A3A55B-46CD-4B07-BC1F-4012436AA7E1/WeChatMonkey.app/PlugIns/WeChatSiriExtensionUI.appex/Info.plist: No such file or directory
User Info: {
    IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
}
--
Failed to install the app on the device.
Domain: com.apple.dt.CoreDeviceError
Code: 3002
User Info: {
    NSURL = "file:///Users/feit/Library/Developer/Xcode/DerivedData/WeChatMonkey-cshytfhdaxlfctdfrorknulnncjb/Build/Products/Debug-iphoneos/WeChatMonkey.app/";
}
--
无法安装“微信”
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: 请稍后再试。
Recovery Suggestion: Failed to load Info.plist from bundle at path /private/var/containers/Bundle/Application/03A3A55B-46CD-4B07-BC1F-4012436AA7E1/WeChatMonkey.app/PlugIns/WeChatSiriExtensionUI.appex; Extra info about "/private/var/containers/Bundle/Application/03A3A55B-46CD-4B07-BC1F-4012436AA7E1/WeChatMonkey.app/PlugIns/WeChatSiriExtensionUI.appex/Info.plist": Couldn't stat /private/var/containers/Bundle/Application/03A3A55B-46CD-4B07-BC1F-4012436AA7E1/WeChatMonkey.app/PlugIns/WeChatSiriExtensionUI.appex/Info.plist: No such file or directory
--
Failed to load Info.plist from bundle at path /private/var/containers/Bundle/Application/03A3A55B-46CD-4B07-BC1F-4012436AA7E1/WeChatMonkey.app/PlugIns/WeChatSiriExtensionUI.appex; Extra info about "/private/var/containers/Bundle/Application/03A3A55B-46CD-4B07-BC1F-4012436AA7E1/WeChatMonkey.app/PlugIns/WeChatSiriExtensionUI.appex/Info.plist": Couldn't stat /private/var/containers/Bundle/Application/03A3A55B-46CD-4B07-BC1F-4012436AA7E1/WeChatMonkey.app/PlugIns/WeChatSiriExtensionUI.appex/Info.plist: No such file or directory
Domain: MIInstallerErrorDomain
Code: 35
User Info: {
    FunctionName = "-[MIBundle _validateWithError:]";
    LegacyErrorString = PackageInspectionFailed;
    SourceFileLine = 64;
}
--

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone15,2";
    "device_osBuild" = "17.1.1 (21B91)";
    "device_platform" = "com.apple.platform.iphoneos";
    "dvt_coredevice_version" = "355.28";
    "dvt_mobiledevice_version" = "1643.120.2";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 1860;
    "operation_errorCode" = 1;
    "operation_errorDomain" = IXUserPresentableErrorDomain;
    "operation_errorWorker" = IDEInstallCoreDeviceWorker;
    "operation_name" = IDERunOperationWorkerGroup;
    "param_debugger_attachToExtensions" = 0;
    "param_debugger_attachToXPC" = 1;
    "param_debugger_type" = 3;
    "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" = 2;
    "param_launcher_UID" = 2;
    "param_launcher_allowDeviceSensorReplayData" = 0;
    "param_launcher_kind" = 0;
    "param_launcher_style" = 99;
    "param_launcher_substyle" = 8192;
    "param_runnable_appExtensionHostRunMode" = 0;
    "param_runnable_productType" = "com.apple.product-type.application";
    "param_structuredConsoleMode" = 1;
    "param_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "iphoneos17.5";
    "sdk_osVersion" = "17.5";
    "sdk_variant" = iphoneos;
}
--


System Information

macOS Version 14.5 (Build 23F79)
Xcode 15.4 (22622) (Build 15F31d)
Timestamp: 2024-07-12T16:42:21+08:00

解决了,调整了fishhook代码

https://juejin.cn/post/7254794609636835385

按照这个教程配置好基础环境,解决一切奇奇怪怪的问题