Change Company Name in XCode __MyCompanyName__ Objective-C Cocoa
See references below for original article.
There are a couple ways to change the __MyCompanyName__ value.
Permanently (open terminal and enter):
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions -dict ORGANIZATIONNAME "__MyCompanyName__
Alternatively, changing the “Me” card in Address book or going to Project->Edit Project Settings->General Tab in XCode 3.2.3 also work.
References
codza.com, http://www.codza.com/change-mycompanyname-in-xcode-templates
Posted on June 20, 2011, in Programming & Development and tagged cocoa, company name, mycompanyname, objective c, template, xcode, __mycompanyname__. Bookmark the permalink. 1 Comment.
Best fix for __My Company.__ in XCode 4:
Open your Address Book card and give yourself a company name. You should do this from System Preferences to make sure you are changing the correct User.
On you Mac –> Select System Preferences –> Select Users and Groups –> Click once on Your User ID –> Click on Address Book Card ‘Open’ button. This is the contact associated with your User account. Add a company name here (just under your name). Close XCode if it’s open. Open Xcode and give it a try. Good luck.