XCode中修改缺省公司名称/开发人员名称
XCode新建文件后,头部会有开发人员名称,公司名称等信息
// Created by Deger on 11-5-24.
// Copyright 2011 __MyCompanyName__. All rights reserved.
要修改这两个名称可通过在terminal中运行
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{"ORGANIZATIONNAME" = "My Company";}'
defaults write com.apple.Xcode ORGANIZATIONNAME "My Company"
defaults write com.apple.Xcode FULLUSERNAME "Deger"
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{FULLUSERNAME = "Deger" ; }'
使用defaults write com.apple.Xcode ... 其实是在修改~/Library/Preferences/com.apple.Xcode.plist
http://hi.baidu.com/wolfand11/blog/item/bedceaf50395ed3fbd310918.html