• 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: Jim Wintermyre <email@hidden>
  • Date: Fri, 9 Jun 2006 05:12:50 -0700

At 6:35 AM -0500 6/9/06, Ricky Sharp wrote:

On Friday, June 09, 2006, at 03:07AM, Jim Wintermyre <email@hidden> 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?

Hmm...I had thought I filed a bug about this a long while back (perhaps 2 years ago now). But I don't see it listed in my open bug list on radar.


Anyhow, you may have just use a custom folder icon. I had to do this for a contextual menu plugin.

Hmm. In that case, is there a way to set this up/script/and/or automate this from inside the IDE? I have a bunch of plugins that should all be using the same icon, and I just want to set up the various plugin projects to do this automatically.


Thanks,
Jim
_______________________________________________
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


  • Follow-Ups:
    • Re: Custom icon for bundle?
      • From: Steve Christensen <email@hidden>
References: 
 >Custom icon for bundle? (From: Jim Wintermyre <email@hidden>)
 >Re: Custom icon for bundle? (From: Ricky Sharp <email@hidden>)

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