If you download the latest Growl SDK (2.0 at the time of writing), you will need two things: This XPC already includes the necessary entitlements. This is explained in the Growl documentation in a synthetic way, here is what you need to do in some more details.Īs explained in the documentation, the best way to use an XPC service to communicate with Growl, is to take the XPC bundle provided in the Growl framework (which is already compiled), rename it, sign it with your developer certificate, and copy it into your app bundle. So, if you don't need to add networking to your application, it's better to use an XPC service, as recommended in the Growl documentation. This is not allowed by default in a sandboxed application, unless you request specific entitlements (making it more challenging to get the app approved by Apple). Growl expects its development framework, included in your application, to communicate with the Growl service using local networking. ShelfMenu uses Growl for notifications, and I do not want to change this, especially since the new Growl framework works with OS X 10.6 onwards, gracefully falling back to the Notification Center on 10.8, if you do not have Growl running. I am working on a new version of ShelfMenu and, to be able to release it on the Mac App Store, I had to adapt it to a sandboxed environment.
0 Comments
Leave a Reply. |