I have followed all the Apple documentation for setting up a service for a right click menu list and for the services list:
- I have made all the relevant info.plist entries. (send types, port name, menu title, instance method, etc.)
- I have created the method which handles services.
- I have added service registration code in the app.
- I built my app, put it in the application directory, logged out and back in.
Despite all this I cannot see my service in any menu item.
EDIT** Here is the services part of my info.plist:
<key>NSServices</key>
<array>
<dict>
<key>NSMenuItem</key>
<dict>
<key>default</key>
<string>MyApp/Send to MyApp</string>
</dict>
<key>NSMessage</key>
<string>contentService</string>
<key>NSPortName</key>
<string>MyApp</string>
<key>NSSendTypes</key>
<array>
<string>NSStringPboardType</string>
<string>NSFileContentsPboardType</string>
</array>
</dict>
</array>
What am I doing wrong? thanks in advance.