XCode:我必须在终端中输入什么才能更改代码模板中的版权声明? [英] XCode: What do I have to type into the Terminal, in order to change the copyright notice in code templates?

查看:33
本文介绍了XCode:我必须在终端中输入什么才能更改代码模板中的版权声明?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我创建一个 XCode 项目时,有一个版权声明被注释掉了.我知道有一个特殊的终端命令可以编辑它.有人知道吗?

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?

推荐答案

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

这篇关于XCode:我必须在终端中输入什么才能更改代码模板中的版权声明?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆