xcode15运行monkeyDev报错求助,macOS14.2.1

报错如下:

详细信息:
Failed to install the app on the device.
Domain: com.apple.dt.CoreDeviceError
Code: 3002
User Info: {
DVTErrorCreationDateKey = “2024-01-08 10:59:18 +0000”;
IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
NSURL = “file:///Users/bear/Library/Developer/Xcode/DerivedData/nnsns-fhyoxojyqrkmfdazwplezznfzuji/Build/Products/Debug-iphoneos/nnsns.app/”;
}

The item at nnsns.app is not a valid bundle.
Domain: com.apple.dt.CoreDeviceError
Code: 3000
Failure Reason: The path to the provided bundle’s main executable could not be determined.
Recovery Suggestion: Ensure that your bundle’s Info.plist contains a value for the key CFBundleExecutable.
User Info: {
NSURL = “file:///Users/bear/Library/Developer/Xcode/DerivedData/nnsns-fhyoxojyqrkmfdazwplezznfzuji/Build/Products/Debug-iphoneos/nnsns.app/”;
ProvidedBundle = “file:///Users/bear/Library/Developer/Xcode/DerivedData/nnsns-fhyoxojyqrkmfdazwplezznfzuji/Build/Products/Debug-iphoneos/nnsns.app/”;
}

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
“device_isCoreDevice” = 1;
“device_model” = “iPhone13,1”;
“device_osBuild” = “17.1.2 (21B101)”;
“device_platform” = “com.apple.platform.iphoneos”;
“dvt_coredevice_version” = “355.7.6”;
“dvt_mobiledevice_version” = “1643.60.2”;
“launchSession_schemeCommand” = Run;
“launchSession_state” = 1;
“launchSession_targetArch” = arm64;
“operation_duration_ms” = 2;
“operation_errorCode” = 3000;
“operation_errorDomain” = “com.apple.dt.CoreDeviceError.3002.com.apple.dt.CoreDeviceError”;
“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” = 0;
“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.2”;
“sdk_osVersion” = “17.2”;
“sdk_variant” = iphoneos;
}

System Information

macOS Version 14.2.1 (Build 23C71)
Xcode 15.1 (22502) (Build 15C65)
Timestamp: 2024-01-08T18:59:18+08:00

安装环境:
Xcode15,m芯片。按照github上如下提示修改md-install文件安装,替换了fishhook,删除了libc++等,编译还是报错,求大佬解答~

clean一下看看

我记得还有一个位置需要修改:
build setting ====> User Script Sandboxing:NO

1 个赞

这么麻烦嘛,把md-install这些删掉,保存后重新执行脚本就ok了。