XCode: What do I have to type into the Terminal, i

2019-02-25 11:21发布

问题:

When I create an XCode project, there is a copyright notice commented out. I know that there is an special terminal command for editing this. Anyone knows it?

回答1:

defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{ORGANIZATIONNAME = "My Company"; }'


回答2:

Try:

defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{"ORGANIZATIONNAME"="stackoverflow";}'

or just add a company name to your card in Address Book.