Thread-topic: Problem getting app icon to display in Finder
User-agent: Microsoft-Entourage/11.2.3.060209
On 5/8/2006 1:49 AM, "Stephen Kay" <email@hidden> wrote:
> I have an .icns file, created with Icon Composer, with all the icons filled
> in.
>
> In CW 9.6, In my AppPropertyList.plc, (plist), I have:
>
> key "CFBundleIconFile" value string "MyApp.icns".
>
> So I have pointed the package at the correct file.
>
> When I launch (Run) my app, the icon appears (correctly) in the dock.
> However, after building the app, when viewing the package in the finder
> inside the folder, it has the generic app icon.
>
> If I view the package contents, it appears that all the correct pieces are
> in the correct places, with the correct names.
>
> If I duplicate the package in the Finder, the new copy shows up with the
> correct icon. (!)
>
> Yet the original stays with the generic icon. Any ideas on what I'm missing?
>
> Thanks,
> - Stephen
I think the Finder is not being smart... And I believe it only happens to
fresh build application for the first time on a machine.
I think I have seen this in Mac OS as well...
Here what I usually do in Finder: Do a Get Info... Click on the icon, do a
cmd-c, cmd-v, and cmd-x.
What the sequence does is to copy the generic icon to the clipboard... Then
paste it as a custom icon to the application bundle, then remove it. This
should force the Finder to peek inside the bundle, etc.
pete
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden