"Cannot find service provider" error But only when launching app
"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