QuickLook插件失败的沙盒错误 [英] QuickLook Plugin Failing with sandboxing error

查看:2198
本文介绍了QuickLook插件失败的沙盒错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个QLPlugin位于我的应用程序的捆绑包。它在山狮和早期工作,但现在在小牛,只有缩略图生成器工作。预览生成器失败,并在控制台中出现沙盒错误:

I have a QLPlugin that resides in my app's bundle. It worked on Mountain Lion and earlier, but now on Mavericks, only the thumbnail generator works. The preview generator fails with a sandboxing error in Console:

8/5/14 7:41:34.000 PM kernel[0]: Sandbox: QuickLookSatelli(98371) deny file-read-data <path to file>

缩略图和预览生成器都会记录此错误,但仍会生成缩略图,不。它在Xcode中运行(通过 qlmanage ),记录一些半相关的错误:

Both the thumbnail and preview generators log this error, but a thumbnail still gets generated, whereas a preview does not. It runs (via qlmanage) in Xcode, logging some semi-related errors:

2014-08-05 19 :39

2014-08-05 19:39

:33.008 qlmanage[98314:303] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x912b, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2014-08-05 19:39:33.012 qlmanage[98314:303] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x3f27, name = 'com.apple.CFPasteboardClient'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2014-08-05 19:39:33.013 qlmanage[98314:303] Failed to allocate communication port for com.apple.CFPasteboardClient; this is likely due to sandbox restrictions

QuickLook插件不能有权利文件,所以我可以do?

QuickLook plugins can't have an entitlements file, so what can I do?

推荐答案

检查这个相关的SO,解决方案是修改快速浏览沙箱规则..): sandbox custom qlgenerator(Quick look)plugin

Check this related SO, solution would be to modify the quick look sandbox rules (not managed to do it yet myself..) : sandbox custom qlgenerator (Quick look) plugin

这篇关于QuickLook插件失败的沙盒错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆