Submission to the Mac App Store since Lion requires all apps to specify code sign entitlements. As with Growl it was never clear what entitlements I should specify and some google-fu gives no answer to my question.
I keep seeing this in the console:
GrowlApplicationBridge: Could not send open-document event to register this application with Growl because AESend returned -600/no eligible process with specified descriptor
Edit: After updating entitlements with:
<key>com.apple.security.temporary-exception.apple-events</key>
<array>
<string>com.Growl.GrowlHelperApp</string>
</array>
Now I see this in the console instead:
*** attempt to post distributed notification 'GrowlNotification' thwarted by sandboxing.
Edit x2: To be more specific, the problem is with NSDistributedNotificationCenter
which allows the app to post notifications to other processes.
I asked Apple about this with one Technical Support Incident. They suggested posting distributed notifications is possible without any entitlements with nil valued userInfo dictionaries. But there is no entitlement at the moment for posting distributed notifications with userInfo dictionaries.
Because Growl must post distributed notifications with userInfo dictionaries, currently it is not possible to use Growl framework within the application sandbox.
With regards to sandboxing, in Growl 1.3+ the framework detects the sandbox and disables the old bridge. Growl.framework 1.3+ inside a sandbox uses the new GNTP protocol, and either needs the network client entitlement, or you can use the XPC that we provide in the SDK.
http://growl.info/documentation/developer/implementing-growl.php#growl1.3sdkchanges has more information on this.
http://groups.google.com/group/growl-development is available for anyone who has a development questions (like about sandboxing).
Chris
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With