Xcode 1.2 has a broken version of SetFile, which is used to set various parameters for files. When you supply letters for the -a (attributes) option, SetFile runs without an error, but then no new settings are applied.
There's a weird workaround, though. To disable the attribute, use the uppercase letter (instead of lowercase, as it should be). To enable the attribute, write the lowercase letter of the attribute followed immediately by the uppercase letter of the same attribute.
Here's an example for Invisibility:
Enable: SetFile -a vV some_file
Disable: SetFile -a V some_file
[robg adds: Hopefully they'll fix this glitch in the next XCode update.]
Mac OS X Hints
http://hints.macworld.com/article.php?story=20040721031013734