• 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
Re: My services in my own app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My services in my own app


  • Subject: Re: My services in my own app
  • From: Mark Munz <email@hidden>
  • Date: Mon, 16 Jan 2012 13:27:15 -0800

.service bundles are supposed to be in ~/Library/Services/ folder
(which you can't use if you are writing for the Mac App Store). Not
sure if they are recognized within your own bundle. The .service
bundle is designed for dynamic bundles, but clearly hasn't been
updated to support the MAS restrictions on apps.

For Mac App Store apps, there is no good way to currently specify
dynamic services.

Also, there is yet another Services-related bug, specifically in using
.service bundles for dynamic services. Specifically, the icon will
display a circle with a slash overlay because Finder doesn't see an
executable. This same icon will then show up next to your menu item in
the Services menu. Sadly, this has *not* been fixed in Lion either.

If you're getting a sense that Services is less than half-baked, join
the club and file bugs related to these issues with Apple so that
hopefully someone will fix them, maybe by the time Mac OS XIII comes
out (it took ~10 years for Apple to take a look at issues in Services
dating back to 10.0).

Mark

On Mon, Jan 16, 2012 at 1:10 PM, Georg Seifert <email@hidden> wrote:
> Yes, I’m on Snow Leopard.
>
> I just had a another look at the specs. there is something about a .service bundle. Can I put one of this in my .app bundle? And how do I register it?
>
> Thanks
> Georg
>
>> You didn't indicate what version of Mac OS X you were running under.
>>
>> If this is happening under Snow Leopard, then this is a known issue in
>> Snow Leopard that Apple fixed in Lion.
>>
>> The only work around I know is to put the service code in a separate
>> (background) application that then calls back into your app to do
>> whatever task you need it to do.
>>
>> Mark
>>
>>> Hi,
>>>
>>> My app registers some services and they work just fine. Only if I invoke then from within the same application, the app hangs. I tried with other apps and they had the same problem.
>>>
>>> I searched the web for it but could not find anything.
>>>
>>> Is there anything I can do about it?
>>>
>>> Thanks
>>> Georg
>
> _______________________________________________
>
> 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



--
Mark Munz
unmarked software
http://www.unmarked.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

References: 
 >My services in my own app (From: Georg Seifert <email@hidden>)
 >Re: My services in my own app (From: Mark Munz <email@hidden>)
 >Re: My services in my own app (From: Georg Seifert <email@hidden>)

  • Prev by Date: Re: My services in my own app
  • Next by Date: iOS: Adding pinch-zoom to UIImageView
  • Previous by thread: Re: My services in my own app
  • Next by thread: Application badge (like Mail) in views other than the doc icon?
  • Index(es):
    • Date
    • Thread