更改Xcode的缺省公司名

一开始是这样的:

1
2
3
4
5
//  testAppDelegate.m  
//  test  
//  
//  Created by gaohf on 11-5-24.  
//  Copyright 2011 __MyCompanyName__. All rights reserved.

在终端中执行以下命令:

defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions ‘{“ORGANIZATIONNAME” = “COMPANY”;}’

之后他是这样的:

1
2
3
4
5
6
7
//  
//  testAppDelegate.m  
//  test  
//  
//  Created by gaohf on 11-5-24.  
//  Copyright 2011 COMPANY. All rights reserved.  
//

Leave a Reply