• 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: Custom icon for bundle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom icon for bundle?


  • Subject: Re: Custom icon for bundle?
  • From: Damien Bobillot <email@hidden>
  • Date: Sun, 11 Jun 2006 22:10:46 +0200

Jim Wintermyre wrote :

Maybe I'm being dense, but I can't seem to get a custom icon to appear for a bundle. I've done this before for an application, which worked fine, but it seems that maybe there's something different about doing this for a bundle? I have the .icns file in the project and it is copied correctly into the Resources folder of the output bundle. The Info.plist file has a CFBundleIconFile entry with the name of the .icns file, and the CFBundleSignature is set to my creator code. There is a PkgInfo file with the type and creator codes in it. Basically it looks pretty much exactly like my application package, but no custom icon shows up. Instead, I get the "standard" icon for bundles with my particular file extension (this is a plugin that can be loaded in different host apps, and the plugin SDK specifies that the bundle's filename must have a certain extension). It seems as though something in the Launch Services database is overriding my specified icon, but I thought it should be the other way around. I've logged out/ restarted/etc and no change. Any ideas?

I've written a command line tool that modify the icon of a file or folder (it was also for setting the icon of a bundle). If you didn't have already found a solution, feel free to use it (source code is available, just ask) :
http://maxao.free.fr/telechargements/setfileicon.gz


setfileicon <path to the .icns file> <path to your bundle, folder or file>

--
Damien Bobillot

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Custom icon for bundle? (From: Jim Wintermyre <email@hidden>)

  • Prev by Date: Re: How are we supposed to paste text in XCode?
  • Next by Date: Basics of Creating and Using Custom Palettes?
  • Previous by thread: Re: Custom icon for bundle?
  • Next by thread: Re: Custom icon for bundle?
  • Index(es):
    • Date
    • Thread