• 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
Bundle is not using icon or CFBundleIdentifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bundle is not using icon or CFBundleIdentifier


  • Subject: Bundle is not using icon or CFBundleIdentifier
  • From: Timothy Reaves <email@hidden>
  • Date: Sun, 4 Oct 2009 00:30:44 -0400

I have a bundle defined as a document type for an app. When I build one of these bundles, and double-click it, it opens in my app. All well and good. Except the following.

1) I have an icns file in my bundle, and have the CFBundleIconFile key in the info.plist in the bundle set to the name of the icon. The icns file is in the correct location in the bundle. But the bundle does not display the icon. It justuses the generic OS icon.

2) I have the CFBundleIdentifier key in the info.plist in the bundle set to a value. Yet when I run mdls on the bundle directory, kMDItemContentType still shows as "public.foder" instead of the bundle identifier.

3) in my main application I have CFBundleTypeExtensions in the Info.plist set to my bundles extension. This works. However, if I instead use LSItemContentTypes, and set it to the same value as CFBundleIdentifier from the bundle, the bundle shows as a standard folder and double-clicking it does not open it in my app.

I'm using OS X 10.6. I've done a good deal of searching, and I believe I'm using these values correctly. I'm wanting to use LSItemContentTypes to be able to find my bundles via SpotLight (ala the CoreRecipes sample app).

	Anyone want to point out what I'm doing wrong?  Any help appreciated.

	Thanks.
_______________________________________________

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


  • Follow-Ups:
    • Re: Bundle is not using icon or CFBundleIdentifier
      • From: Uli Kusterer <email@hidden>
    • Re: Bundle is not using icon or CFBundleIdentifier
      • From: Todd Heberlein <email@hidden>
  • Prev by Date: Re: Probs with "BetterAuthorizationSample"-code
  • Next by Date: Re: Working with an Unsupported Character Encoding (ANSEL)
  • Previous by thread: list editor (iPhone)
  • Next by thread: Re: Bundle is not using icon or CFBundleIdentifier
  • Index(es):
    • Date
    • Thread