ios - 无法启动“app_name”未能获取进程 -1 的任务
问题描述
我在使用Xcode Beta 13 (version 5)在我的 iPhone 上运行 iOS 应用程序时遇到问题。我创建了一个新项目进行测试,并尝试在我的 iPhone 上运行该应用程序。但是,我无法运行它。我添加了签署应用程序的团队。我以前没有任何问题。
由于我在我的 iPhone 上使用公共 iOS 15.0 Beta(最新版本),我下载了 Xcode 的 beta 版本以在我的 iPhone 上运行我的应用程序。
这个错误背后的原因是什么?它与Xcode 和/或 iOS 15.0 的Beta版本有关吗?构建应用程序时没有错误。
我还尝试了一个在我的 iPhone 上运行的示例Flutter项目,它导致了同样的错误。
先感谢您。
当我单击详细信息时:
Could not launch “testt”
Domain: IDEDebugSessionErrorDomain
Code: 3
Failure Reason: failed to get the task for process -1
User Info: {
DVTRadarComponentKey = 855031;
IDERunOperationFailingWorker = DBGLLDBLauncher;
RawUnderlyingErrorMessage = "failed to get the task for process -1";
}
--
Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
"device_model" = "iPhone11,8";
"device_osBuild" = "15.0 (19A5340a)";
"device_platform" = "com.apple.platform.iphoneos";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 5436;
"operation_errorCode" = 3;
"operation_errorDomain" = IDEDebugSessionErrorDomain;
"operation_errorWorker" = DBGLLDBLauncher;
"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.5.2 (Build 20G95)
Xcode 13.0 (19223.2) (Build 13A5212g)
Timestamp: 2021-09-07T18:33:58+03:00
解决方案
推荐阅读
- tensorflow - 如何解决张量流中不推荐使用的特征列警告
- google-chrome-extension - 在 chrome 扩展清单 v3 中从后台脚本播放音频
- amazon-web-services - AWS API Gateway 主体映射模板到 Graphql
- sql - Oracle SQL 计算到最接近的 1 号 除了确定的天数
- pandas - 如何直接替换 csv 文件或数据框中的行和列数据?
- aws-lambda - 使用 graphql 和 AWS Lambda 保存数据
- excel - Excel 功能区宏未启用
- opencv - 在标记姿势估计之后,如何将投影机器人与机器人一起使用?
- python - 在 Pandas 中导出计算以生成 Excel 表
- python - 在android中重新启动后未启动Kivy服务