Sungju's Slow Life

Personal journal


Howto change __MyCompanyName__ in your project with Xcode

You might doesn’t like the comment at the top of your Xcode project files.

//
//  ViewController.m
//  CITest
//
//  Created by Sungju Kwon on 4/21/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

I’ve checked the internet for the possible solution, and I could find below.

defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{ORGANIZATIONNAME="Sungju Kwon";}'

But, it doesn’t work for me. I’m using Xcode 4.3.2 and in this case, changing project properly helped it.

http://pagead2.googlesyndication.com/pagead/show_ads.js

First, click the project name at the top-left corner and select ‘hide and show the Utilities’ toolbar button at the top-right corner. In the Utilities pane (usually it’s at the right side), select the ‘Show the File Inspector’ and under ‘Project Document’, you can find ‘Organization’ field and if you apply changes there, new files will have proper Organization details.



Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

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

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: