ios - (Xcode 11.2.1) 找不到 Thread Sanitizer 运行时支持库 (iOS)
问题描述
使用 Xcode 11.2.1 为 iOS 创建了一个 View 项目,并在 Scheme 中启用了 Thread Sanitizer。注意:在模拟器iPhone Xr 13.2.2上运行应用程序
运行项目后,出现以下错误:
请求被服务委托 (SBMainWorkspace) 拒绝,原因是:未指定(“null”)。
Details
The request to open "kumar.helloworld" failed.
Domain: FBSOpenApplicationServiceErrorDomain
Code: 1
Failure Reason: The request was denied by service delegate (SBMainWorkspace)
for reason: Unspecified ("null").
User Info: {
BSErrorCodeDescription = RequestDenied;
FBSOpenApplicationRequestID = 0x9e5a;
}
--
The operation couldn’t be completed. (null)
Domain: FBSOpenApplicationErrorDomain
Code: 1
Failure Reason: (null)
User Info: {
BSErrorCodeDescription = Unspecified;
}
当将可执行文件设置为启动时询问时,会出现以下错误:
找不到 Thread Sanitizer 运行时支持库。请通过设置 DYLD_INSERT_LIBRARIES 环境变量手动指定它。
如果禁用Thread Sanitizer,则应用程序在模拟器中正常启动。
在这种情况下的任何帮助将不胜感激。谢谢!
解决方案
推荐阅读
- python - 查找函数的梯度:Sympy vs. Jax
- bokeh - 如何获得 Object 触发了回调的 Bokeh 回调?
- arrays - ConvertTo-JSON 错误地解析数组
- node.js - 在nodejs中获取整个错误堆栈跟踪
- html - IE11 和 Edge 18:为什么与 rel=prefetch 结合使用时不会触发 onload?
- javascript - 为什么我的传单地图一直显示空白区域
- oracle - Oracle Apex - 使用动态操作刷新区域
- xamarin.forms - Xamarin.Forms 如何将代码中的数据绑定到滑动视图(在 xaml 中工作)
- javascript - 防止后处理程序最小化应用程序
- pytorch - 调整大小与 CenterCrop 与 RandomResizedCrop 与 RandomCrop