• 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: Setfile -a C doesn't work for files anymore?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Setfile -a C doesn't work for files anymore? (From: Alex Telitsine <email@hidden>)

  • Prev by Date: Re: Setfile -a C doesn't work for files anymore?
  • Next by Date: Re: Can't get debugger to stop at breakpoints in project
  • Previous by thread: Re: Setfile -a C doesn't work for files anymore?
  • Next by thread: How to join the parts of my Xcode 1.2 download?
  • Index(es):
    • Date
    • Thread