Re: Setfile -a C doesn't work for files anymore?
Re: Setfile -a C doesn't work for files anymore?
- Subject: Re: Setfile -a C doesn't work for files anymore?
- From: Chris Espinosa <email@hidden>
- Date: Sun, 6 Jun 2004 09:28:00 -0700
On Jun 5, 2004, at 2:08 PM, Alex Telitsine wrote:
I used to use Developer/Tools/SetFile -a C file_name
in the Xcode script to set custom icon for QuickTime component,
buts since XC 1.2 it is broken.
According to online docs it suppose to work for folders,
no mention of files.
Is there replacement/new command to set "custom icon"
for the file in 1.2 or dev-tools ?
Some SetFile flags were broken in Xcode 1.2 and will be fixed soon. If
you have a machine with SetFile from Xcode 1.1 you can copy that into
/Developer/Tools and use it on any Panther version.
Using HFS commands (e.g. SetFile) to set custom icons is not the
preferred mechanism on Mac OS X. The right thing to do is to include
the icon file in your component's bundle's Resources folder and
reference it in the bundle's Info.plist. See the LaunchServices
documentation for details:
http://developer.apple.com/documentation/Carbon/Conceptual/
LaunchServicesConcepts/index.html
Chris Espinosa
Apple
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.