我的应用程序包中有一个 QLPlugin。它适用于 Mountain Lion 及更早的版本,但现在在 Mavericks 上,只有缩略图生成器有效。预览生成器失败,控制台中出现沙盒错误:
8/5/14 7:41:34.000 PM kernel[0]: Sandbox: QuickLookSatelli(98371) deny file-read-data <path to file>
缩略图和预览生成器都会记录此错误,但仍会生成缩略图,而预览则不会。它运行(通过qlmanage
)在 Xcode 中,记录一些半相关的错误:
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 插件没有权利文件,我该怎么办?
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)