Reputation: 19507
Since upgrading to Xcode 4 my company name is not appearing in any new files I create instead this appears:
Copyright 2011 MyCompanyName. All rights reserved.
I have gone into Terminal and run the command and restarted Xcode but nothing happens:
defaults write com.apple.Xcode PBXCustomerTemplateMacroDefinitions'{"ORGANIZATIONNAME" = "MyCompany";}'
defaults write com.apple.Xcode PBXCustomerTemplateMacroDefinitions'{'ORGANIZATIONNAME' = "MyCompany";}'
Upvotes: 3
Views: 1669
Reputation: 771
Select your project in Xcode (if the Inspector isn't visible, press CMD+1)
In the File Inspector along the right sidebar (if the File Inspector isn't visible, press CMD+OPTION+1), edit the Organization entry under the Project Document section:
All new classes that are added to the project will contain this new company name.
Upvotes: 0
Reputation: 281
Set your company name in your adresbook. Restart Xcode 4. Works for Xcode 4 Build 4A304a
Upvotes: 3
Reputation: 61228
Select the project in the navigator and open the Utility pane. The organization name is found there.
Upvotes: 8