Using Apple Services in a Sandboxed Application

My application is isolated. I added an item to the Services menu, and when I try to select that menu item in another application, my application won't load and the service doesn't work.

My app icon will appear in the Dock and disappear immediately. When I turn off the sandbox everything is fine. I think I need to add some lines to Entitlements.plist

, but I don't know what.

Does anyone have any ideas?

+3


source to share


1 answer


Add this key to your right:

<key>com.apple.security.temporary-exception.apple-events</key>
<array>
    <string>com.apple.itunes</string>
</array>

      



NOTE. This means I want to send Apple events to iTunes, so you can get more information here: Application for Temporary Exceptions for Sandbox Apps

0


source







All Articles