• 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: Correct way to tell if a path is to a .bundle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Correct way to tell if a path is to a .bundle?


  • Subject: Re: Correct way to tell if a path is to a .bundle?
  • From: Rick Mann <email@hidden>
  • Date: Fri, 25 Sep 2009 09:53:39 -0700


On Sep 25, 2009, at 08:52:40, Sean McBride wrote:

On 9/25/09 8:12 AM, Jens Alfke said:

Thanks Jens. If I create a custom extension for my plugins (not even
sure I can do that), will this still work?

Yup, as long as you declare the extension properly in your Info.plist and indicate that it's a bundle.

Of course that requires that your Info.plist be present for Launch
Services to consult. So while you should absolutely do as Jens says,
you should additionally set the bundle bit for packages you create. See
'man SetFile'. SetFile -a B /path/to/package. Many apps fail to do
this. Ever noticed that after a fresh OS install the Finder
shows .xcodeproj packages as folders? That's why.

Thanks to you both for the details!

--
Rick


_______________________________________________

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: 
 >Correct way to tell if a path is to a .bundle? (From: Rick Mann <email@hidden>)
 >Re: Correct way to tell if a path is to a .bundle? (From: Jens Alfke <email@hidden>)
 >Re: Correct way to tell if a path is to a .bundle? (From: Rick Mann <email@hidden>)
 >Re: Correct way to tell if a path is to a .bundle? (From: Jens Alfke <email@hidden>)
 >Re: Correct way to tell if a path is to a .bundle? (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Best way to implement drag and drop for multiple types of nstableview
  • Next by Date: Displaying characters from the 'Unicode Symbols' font ??
  • Previous by thread: Re: Correct way to tell if a path is to a .bundle?
  • Next by thread: Re: Correct way to tell if a path is to a .bundle?
  • Index(es):
    • Date
    • Thread