[转]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

http://www.cnblogs.com/zhw511006/archive/2011/07/22/2114218.html

posted @ 2011-11-24 13:26  冷愤僧  阅读(450)  评论(1编辑  收藏  举报