Xcode: How to Change the Company Name

Posted February 22, 2009 by Rob Rogers in Apple Mac

Xcode automatically inserts your company name in the copyright info in all new source code files. If you haven’t specified a company, all your code will have the copyright statement showing MyCompanyName. Here’s how to change the company name and get your code looking even more professional.

There are two methods for changing the company name in Xcode.

Using Terminal

1. Open a terminal window.

2. Execute the following command:
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions
'{"ORGANIZATIONNAME"="Your Company Name";}'

Where Your Company Name is the name of the desired company.

Using Xcode

1. Open System Preferences.

2. Select Accounts.

3. Select your account from the left pane.

4. Go to Address Book Card and click the Open button.

5. Fill in the Company field on your Address Book Card.


About Rob Rogers

Once a prolific author here on Tech-Recipes, Rob has moved on to greener pastures.
View more articles by Rob Rogers

The Conversation

Follow the reactions below and share your own thoughts.

Leave a Reply