PDA

View Full Version : How do I change the author and company name for new files?




detz
Oct 2, 2008, 09:45 AM
How do I change the author and company name for new files? When I create a new project all files get

//
// TestAppDelegate.m
// Test
//
// Created by Ryan on 10/2/08.
// Copyright __MyCompanyName__ 2008. All rights reserved.
//

at the top, how can I change Ryan and __MyCompanyName__ to something else?



toddburch
Oct 2, 2008, 09:58 AM
In Terminal, on the command line, enter

defaults write com.apple.xcode PBXCustomTemplateMacroDefinitions '{ ORGANIZATIONNAME = "Your Name Goes Here" ; }'

kainjow
Oct 2, 2008, 12:41 PM
Or if you already have an entry in Address Book for yourself, you can edit the company field there.