Xcode: How to Change the Company Name

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.

  • Mike

    Thank you for that, the “defaults” method wasn’t working for me, but updating the address book sure did…

    Much appreciated!

  • Anonymous

    I saw all the contact list under the addressbook card, I assumed it’s not there…
    this again proves that assumption is quite the mother of all fuckups.