(Xcode 11.2.1)找不到Thread Sanitizer运行时支持库(iOS)

时间:2019-11-18 05:41:29

标签: ios xcode multithreading swift5 thread-sanitizer

使用Xcode 11.2.1为iOS创建了一个View项目,并在Scheme中启用了Thread Sanitizer。注意:在模拟器 iPhone Xr 13.2.2

上运行应用程序

运行项目后,出现以下错误:

服务委托(SBMainWorkspace)拒绝请求,原因如下:未指定(“空”)。

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 ,则表明该应用在模拟器中正常启动。

在这种情况下的任何帮助将不胜感激。谢谢!

0 个答案:

没有答案