So you’ve downloaded your fresh copy of Xcode, and are itching to get started.. But what’s this? All your code files are getting stamped with the mysterious __MyCompanyName__? Frustrated huh?
Well despite what some of the tutorials say out on the net, there’s no .plist’s to edit, no terminal commands to execute and no degree in meta physics required.
The company name detail is actually taken directly from the stock ‘Address Book’ application. By now you should have already set up your address book contact, and linked it to your user account.
Open up Address Book, and find your ‘Me’ account, now set the company name on your record and save it. Even if you don’t want to actually publish apps as a company, enter the name you want to appear in the comments, and then save the changes to the record.
That’s it.. No… Honestly, that’s all you need to do! Now close down Xcode. The next time you create a new file the company name will automatically be placed in the comments of the files. Simple really!
Have fun developing!