XCode: What do I have to type into the Terminal, in order to change the copyright notice in code templates?

為{幸葍}努か 提交于 2019-12-04 04:44:11

问题


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.



来源:https://stackoverflow.com/questions/705986/xcode-what-do-i-have-to-type-into-the-terminal-in-order-to-change-the-copyrigh

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!