Re: Custom icon for bundle?
Re: Custom icon for bundle?
- Subject: Re: Custom icon for bundle?
- From: David Alger <email@hidden>
- Date: Fri, 9 Jun 2006 11:57:21 -0500
On Jun 9, 2006, at 9:40 AM, Steve Christensen wrote:
On Jun 9, 2006, at 5:12 AM, Jim Wintermyre wrote:
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.
I have around 80 plug-ins that I build, and right now I do a bulk
setting of the custom icon and file dates using File Buddy. It's
not like that's a big deal, but it would be nice if there were a
way to automate the process from within the IDE.
This could probably be done with a build script that would copy the
Icon file that is used into the bundle folder.
David
_______________________________________________
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