iPhone Developer Tips Stats: Past 30 days - Pageviews: 88,766 Visitors: 61,679 Thank you everyone! Let's shoot for 100,000 by May. Pass it on...
|
Although covered many other places on the net, I recently had to make a change to the name that Xcode automagically inserts when creating new files, so I figured I’d also pass on this tip to readers of this blog as well.
By default, Xcode inserts a company name something similar to the following in all new source files (.m .h etc):
Copyright (c) 2009 MyCompanyName. All rights reserved.
Changing this reference is as simple as entering the following from within a terminal window, replacing “YourNameHere” with the text you prefer. Also, make sure this is all entered on one line in the terminal.
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions
'{ORGANIZATIONNAME="YourNameHere";}'
Comments
3 Responses to “Change Company Name in Xcode”
Leave Comment
Or go to AppleMenu > SystemPreferences > Accounts > Address Book Card and fill in your CompanyName.
Thanks, this has been driving me nuts.
Thanks for the tip! I drove myself crazy trying to figure that one out. (Yes, I’m a newbie.)