本文介绍了沙盒自定义qlgenerator(快速查看)插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用sandbox快速浏览外挂程式?



目前正在取得以下错误讯息:

  2014-04-14 16:26:50.507 qlmanage [5601:303] *** CFMessagePort:bootstrap_register():failed 1100(0x44c)'Permission denied',port = 0x8b13,name ='com.apple.tsm.portname'
有关错误代码,请参阅/usr/include/servers/bootstrap_defs.h。

2014-04-14 16:26:50.512 qlmanage [5601:303] *** CFMessagePort:bootstrap_register():failed 1100(0x44c)'Permission denied',port = 0x3f0f,name = com.apple.CFPasteboardClient'
有关错误代码,请参见/usr/include/servers/bootstrap_defs.h。

2014-04-14 16:26:50.512 qlmanage [5601:303]无法为com.apple.CFPasteboardClient分配通信端口;这可能是由于沙箱限制

以下权利在Xcode的代码签名授权构建设置中定义,仍然观察到以上错误消息:

 <?xml version =1.0encoding =UTF -8? 
<!DOCTYPE plist PUBLIC - // Apple // DTD PLIST 1.0 // ENhttp://www.apple.com/DTDs/PropertyList-1.0.dtd\">
< plist version =1.0>
< dict>
< key> com.apple.security.app-sandbox< / key>
< true />
< key> com.apple.security.temporary-exception.mach-lookup.global-name< / key>
< array>
< string> com.apple.CFPasteboardClient< / string>
< string> com.apple.tsm.portname< / string>
< / array>
< / dict>
< / plist>


解决方案

Quicklook插件不支持授权。 >

您可以尝试手动修改沙盒配置文件并尝试更改规则。



usr / share / sandbox



您可以检查quicklook-sa​​tellite.sb和quicklookd.sb个人资料。



我希望这个信息可以帮助你。



我对我的前景2011 quicklook插件有一些问题,我解决了修改uicklook-sa​​tellite.sb



您可以帮助您查看此文档


How to sandbox quick look plugin on mavericks?

Currently obtaining following error message:

2014-04-14 16:26:50.507 qlmanage[5601:303] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x8b13, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.

2014-04-14 16:26:50.512 qlmanage[5601:303] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x3f0f, name = 'com.apple.CFPasteboardClient'
See /usr/include/servers/bootstrap_defs.h for the error codes.

2014-04-14 16:26:50.512 qlmanage[5601:303] Failed to allocate communication port for com.apple.CFPasteboardClient; this is likely due to sandbox restrictions

Following entitlement is defined at Xcode's "Code Signing Entitlements" build setting, still observed above error message:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>com.apple.security.app-sandbox</key>
    <true/>
    <key>com.apple.security.temporary-exception.mach-lookup.global-name</key>
    <array>
        <string>com.apple.CFPasteboardClient</string>
        <string>com.apple.tsm.portname</string>
    </array>
</dict>
</plist>
解决方案

Quicklook plugins don't support entitlement.

You can try to modify manually the sandbox profile and try to change the rule.

Sandbox profile for quicklook are in /usr/share/sandbox

you can check the quicklook-satellite.sb and quicklookd.sb profile.

I hope this info can help you.

I had some problem on my outlook 2011 quicklook plugins and I resolved modifing the uicklook-satellite.sb

You cal help take a look to this document http://www.germinara.it/download/FGOUTLOOK2011Manual.pdf

这篇关于沙盒自定义qlgenerator(快速查看)插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 03:16