ios - IDEDebugSessionErrorDomain:LLDB 未提供错误字符串
问题描述
构建我的 Xcode 12.4 项目成功,但立即出现一个弹出窗口,提示“无法启动项目:LLDB 未提供字符串错误”。. (与“LLDB 未提供错误字符串”相关的增强问题- XCode 问题)。
按照这个线程并尝试了所有建议,包括i)重新启动xcode和计算机,ii)sudo DevToolsSecurity -enable,iii)编辑产品>方案(在调试和发布模式下),我得到了:
选中“调试可执行文件”:`无法启动:LLDB 未提供错误字符串。
Details Could not launch “testingC” Domain: IDEDebugSessionErrorDomain Code: 3 Failure Reason: LLDB provided no error string. User Info: { DVTRadarComponentKey = 855031; RawLLDBErrorMessage = "LLDB provided no error string."; } -- System Information macOS Version 10.15.7 (Build 19H2) Xcode 12.4 (17801) (Build 12D4e) Timestamp: 2021-02-14T16:05:44+01:00
未选中“调试可执行文件”(相同的系统信息):`无法启动:LLDB 未提供错误字符串。
Details Launch error Domain: IDELaunchErrorDomain Code: 9 Recovery Suggestion: There is a problem launching using posix_spawn (error code: 2). --
从那里,我发现这篇文章似乎与我尝试过的这种情况相关,导致:“无法打开文件:/System/Library/PrivateFrameworks/LLDB.framework/Versions/A/LLDB”,这是正常,因为我没有安装 LLDB。
在这种情况下,在这里尝试的 LLDB 命令是什么?否则,如何修复这些错误?
解决方案
推荐阅读
- sql - Oracle SQL 查询让所有代理直接或间接向经理报告
- php - 我在尝试使用 testnet 在 block.io 上传输时遇到错误
- c++ - 一组自定义类对象及其 < 运算符
- java - Weblogic 12c 上的 Spring-boot 之战
- php - 使用键名将多个对象值添加到数组
- excel - 选择两个单词之间的范围,然后根据不同的列删除它们
- node.js - 执行节点时出错(关于 firebase),但应用程序运行良好,即使使用 firebase(角度通用)
- javascript - 如果 Cookie 存在,则 JS 重定向
- java - 杰克逊 JSON 从没有属性名称的对象数组到 pojo
- terraform - 如何将环境变量传递给 terraform 模块