修改 Xcode, Copyright 的默认值

xcode 首先会在它的“偏好设置PList”中查找对应的信息。如果没有找到,会使用“地址簿”中当前用户信息。如果两个都设置了,那 PList 中的优先级更好一些。在默认情况下,ORGANIZATIONNAME 并没有设置。

1、读取 :defaults read com.apple.Xcode PBXCustomTemplateMacroDefinitions -dict ORGANIZATIONNAME

2、修改:defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions -dict ORGANIZATIONNAME "Your Company Name"

在 Shell 中执行上述命令。

3、defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{"ORGANIZATIONNAME" = "Your Company Name";}'


原文地址:https://www.cnblogs.com/Proteas/p/2721187.html