• 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
"Cannot find service provider" error But only when launching app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Cannot find service provider" error But only when launching app


  • Subject: "Cannot find service provider" error But only when launching app
  • From: Philip Dow <email@hidden>
  • Date: Fri, 3 Feb 2006 20:13:46 +0100

I am in the process of implementing a service provider for my application. Having setup the appropriate key in my info.plist file and implemented a method in the form of...

- (void)serviceSelection:(NSPasteboard *)pboard userData:(NSString *) data error:(NSString **)error

...things work just fine. But only when the application is already launched. If the application is not launched, the console logs an error and the method is never called:

"Cannot find service provider for selector serviceSelection:userData:error: or serviceSelection:: for service serviceSelection"

I've tested TextEdit's service when the app is not launched, and it works fine. I am calling -setServicesProvider: in my - applicationDidFinishLaunching: delegate first thing.

Any thoughts on what might be causing the issue?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: loadHTMLString generating errors?
  • Next by Date: Re: Objective-C or Objective-C++
  • Previous by thread: RE: loadHTMLString generating errors?
  • Next by thread: Re: Crashing when updating the User Interface from a detached NSThread
  • Index(es):
    • Date
    • Thread