Posted by: Tharindu | July 19, 2011

How to change XCode 4 [4.2] Organization Name Entry in Templates

Today, I wanted to change Company Name entry in new XCode 4.2 project file templates. If it’s not set for the project by default Organization Name appears as __MyCompanyName__.

Earlier it used to be read from either ~/Library/Preferences/ file Or using Address Book entry for company under current user logged in. So I was wondering why it doesn’t appear on new files I add to the project with XCode 4.2.

defaults write PBXCustomTemplateMacroDefinitions


I had already added the ORGANIZATIONNAME key, but still had the default name in. Alternatively, I could have also changed the file templates in /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/File Templates or /Developer/Library/Xcode/Templates/File Templates. But it seem to be not really easy or useful, as I just needed to change company name entry only.

Finally, I found out there’s a very easy way hidden or unseen for me for some reason with new XCode, added 🙂 Select the project and look for the right pane. View > Utilities > Show File Inspector [option + command + 1]. Organization entry is there available for each new project.


  1. Thank you very much for sharing your observation. I encountered the same issue and appreciate finding your solution on the web


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: