Sunday, February 19, 2006

Change __MyCompanyName__ in Xcode

If you're sick of seeing __MyCompanyName__ in the header comments of all your Xcode files, you can set the default company name in Xcode with:


defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions
-dict ORGANIZATIONNAME "Blah, Inc"

(all entered on one line, of course)

4 comments:

Greg said...

To be clear, this command should be entered in the Terminal, not in Xcode.

Anonymous said...

That'll be very usefull. Thanx

Kristina said...

That was helpful. Do you know how to change the other built-in tags?

Thanks,
Kristina R.

jack said...

Can this be set somewhere in the individual project? (I work several open-source projects and at least one employer ;-)