Xcode: How to Change the Company Name

Contributor Icon Contributed by Rob Rogers  
Tag Icon Tagged: 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.

 

2 Comments -


  1. Mike said on March 6, 2009

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

    Much appreciated!

  2. Anonymous said on February 11, 2010

    great.
    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.
    thanks.

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -