In case this is driving you up the wall:
The new Xcode 4 template locations are:
- /Developer/Library/Xcode/Templates/...
- ~/Library/Developer/Xcode/Templates/...
Additionally, Xcode 4 changed the File Templates to use a triple-underscore instead of guillemets. The following tags can be used in File Templates.[1]
___DATE___ Current date (using NSCalendarDate format “%x”).
___DIRECTORY___ Full path of the file’s parent directory.
___FILENAME___ Full file name, as typed by user.
___FILEBASENAME___ File name without the extension.
___FILEBASENAMEASIDENTIFIER___ File name without the extension, mangled to a legal C-style identifier.
___FILEEXTENSION___ Current file’s extension.
___FULLUSERNAME___ Full name of the logged in user.
___PROJECTNAME___ Name of the project to which the file was added (blank if none).
___PROJECTNAMEASIDENTIFIER___ Name of the project, mangled to a legal C-style identifier.
___PROJECTNAMEASXML___ Name of the project, as a valid XML string.
___TIME___ Current time (using NSCalendarDate format “%X”).
___USERNAME___ Account name (“short name”) of the logged in user.