Wednesday, February 9, 2011

How to change _MyCompanyName_ in header of the XCode project files

If you are wondering how to change the username and company name of the header of the files being created in your XCode then you are at the right place !

//
//  PrintingAppDelegate.h
//  Printing
//
//  Created by ABC on 10/02/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

It looks like above and now I want to change __MyCompanyName__ to say "Reetu Inc." then I just need to do following step and hence all the new files I create in the project will have updated name and company name.

Steps:
1. Go to XCode > Project > Edit Project Settings




























2.  In Project Setting window, Select General Tab as shown below then go to Organization Name: as highlighted area in the screenshot below. Change it to whatever name you want. I have changed it to Reetu Inc.






































3. Now when you will create a new file, it will display the updated company name !

New file in Xcode with updated _MyCompanyName_




 


  










No comments:

Post a Comment