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

Re: Bundle is not using icon or CFBundleIdentifier


  • Subject: Re: Bundle is not using icon or CFBundleIdentifier
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 5 Oct 2009 11:46:30 +0200

On 04.10.2009, at 06:30, Timothy Reaves wrote:
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.

Wait, the bundle is defined as the app's document type? Then of course the app's Info.plist provides the icon.


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.

You need to specify the icon in the CFBundleDocumentTypes of your application. Only certain bundles get scanned for an Info.plist. Documents can contain whatever they want, so the OS gets all information for them from the app that owns them.


Cheers,
-- Uli Kusterer
"The witnesses of TeachText are everywhere..."



_______________________________________________

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: "Timothy Reaves" <email@hidden>
References: 
 >Bundle is not using icon or CFBundleIdentifier (From: Timothy Reaves <email@hidden>)

  • Prev by Date: Re: ScreenSaverView gets instantiated several times
  • Next by Date: Re: Keeping NSWindow below all other windows
  • Previous by thread: Re: Bundle is not using icon or CFBundleIdentifier
  • Next by thread: Re: Bundle is not using icon or CFBundleIdentifier
  • Index(es):
    • Date
    • Thread