• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Debugging Services menu in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging Services menu in Leopard


  • Subject: Debugging Services menu in Leopard
  • From: Kevin Walzer <email@hidden>
  • Date: Thu, 07 Jan 2010 10:51:57 -0500
  • Organization: WordTech Communications LLC

I'm developing an application that registers a service with the Services menu in Leopard (10.5.8). I've based much of the code on Apple's documentation of services, and I have correctly set up my info.plist file with the appropriate keys. The application launches and runs fine. However, the application doesn't show up in the Services menu, even after I run /System/Library/CoreServices/pbs.

This is proving very hard to debug. When I launch the application in this fashion in Terminal:

/Applications/ServiceTest.app/Contents/MacOS/ServiceTest -NSDebugServices com.codebykevin.servicetest

there is no error logged in Terminal or Console. This tells me that the service should be registered.

Running this command:

 /System/Library/CoreServices/pbs -dump_pboard

produces no output (a Leopard bug, perhaps?) so I can't actually tell what's registered.

I was able to see the service registered in the "Service Scrubber" application, in what the app describes as a "zombie service"--grayed out, unable to be edited. It's listed there as "Untitled Service: [ServiceTest provideService]," which is the app name (ServiceTest) and NS method (provideService).

Does anyone have any idea why Service Scrubber would see my service but it doesn't show up in the services menu?

--Kevin

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Debugging Services menu in Leopard
      • From: Kevin Walzer <email@hidden>
    • Re: Debugging Services menu in Leopard
      • From: Kevin Walzer <email@hidden>
  • Prev by Date: Re: Bindings blues
  • Next by Date: iPhone: validate a NSString for US zipcode
  • Previous by thread: Yet another NSTreeController memory issue
  • Next by thread: Re: Debugging Services menu in Leopard
  • Index(es):
    • Date
    • Thread