Friday, July 2, 2010

Changing the Author Name in Xcode

So you want to change the author name from the default (the full name of the logged in Mac user) from:
// Created by Firstname Lastname on 6/21/10.
to something more creative:
// Created by SpeedingLunatic on 6/21/10.

Here's how. Run this from a Terminal:
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{ "FULLUSERNAME" = "SpeedingLunatic";}'