koo*_*koo 8 macos objective-c growl mac-app-store code-signing-entitlements
由于Lion要求所有应用程序指定代码签名权利,因此提交到Mac App Store.与Growl一样,我从未明确应该指定哪些权利,而某些google-fu对我的问题没有回答.
我一直在控制台看到这个:
GrowlApplicationBridge: Could not send open-document event to register this application with Growl because AESend returned -600/no eligible process with specified descriptor
Run Code Online (Sandbox Code Playgroud)
编辑:更新权利后:
<key>com.apple.security.temporary-exception.apple-events</key>
<array>
<string>com.Growl.GrowlHelperApp</string>
</array>
Run Code Online (Sandbox Code Playgroud)
现在我在控制台中看到了这个:
*** attempt to post distributed notification 'GrowlNotification' thwarted by sandboxing.
Run Code Online (Sandbox Code Playgroud)
编辑x2:更具体地说,问题在于NSDistributedNotificationCenter
允许应用程序向其他进程发布通知.
我通过一个技术支持事件向Apple询问了这个问题.他们建议发布分布式通知,而没有任何使用nil值userInfo词典的权利.但目前没有权利使用userInfo词典发布分布式通知.
由于Growl必须使用userInfo词典发布分布式通知,因此目前无法在应用程序沙箱中使用Growl框架.
归档时间: |
|
查看次数: |
2083 次 |
最近记录: |