RE: NSServices
RE: NSServices
- Subject: RE: NSServices
- From: Colin Deasy <email@hidden>
- Date: Thu, 3 Sep 2009 20:14:23 +0000
- Importance: Normal
Hey Peter,
Thanks for the response.
Ya I had gone through all that process, and my app was showing up in the output. When I debugged it against textedit it said that it was disabled!
I've got it working now, it was caused by 1 of the following:
- Duplicate applications ( e.g both a debug and release version ) - Empty return types declaration
However I don't fancy trying to recreate the problem but if I had to guess to instigator I would say the first on that list.
CheersColin
> Subject: Re: NSServices
> From: email@hidden
> Date: Thu, 3 Sep 2009 12:35:12 -0700
> CC: email@hidden
> To: email@hidden
>
> Hi Colin,
>
> Adding the NSRequiredContext is the right way to make it appear by
> default.
>
> Note that after adding it, you will have to run /System/Library/
> CoreServices/pbs (or log out and back in) to make the Service appear.
> If you are unsure if the system is recognizing the context, run pbs
> with the -dump_pboard flag
>
> /System/Library/CoreServices/pbs -dump_pboard
>
> find your app's entry and make sure it shows the NSRequiredContext.
> Post again if that doesn't work.
>
> -Peter
>
> On Sep 3, 2009, at 12:48 AM, Colin Deasy wrote:
>
> >
> > Ive tried it with the required context as well, no luck. I even
> > tried building it with 10.6 SDK.
> >
> >> From: email@hidden
> >> To: email@hidden
> >> Subject: Re: NSServices
> >> Date: Wed, 2 Sep 2009 20:41:33 -0700
> >> CC: email@hidden
> >>
> >> Re-read the docs. Your plist needs to specify an array (possibly
> >> empty) of valid contexts. Otherwise Snow Leopard assumes you haven't
> >> updated your service for 10.6.
> >>
> >> --Kyle Sluder
> >
>
_________________________________________________________________
What can you do with the new Windows Live? Find out
http://www.microsoft.com/windows/windowslive/default.aspx_______________________________________________
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