更改Xcode的缺省公司名(转)

Ios代码 复制代码 收藏代码
  1. //   
  2. //  testAppDelegate.m   
  3. //  test   
  4. //   
  5. //  Created by gaohf on 11-5-24.   
  6. //  Copyright 2011 __MyCompanyName__. All rights reserved.   
  7. //  
//
//  testAppDelegate.m
//  test
//
//  Created by gaohf on 11-5-24.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

 

在终端中执行以下命令:

 

Mac代码 复制代码 收藏代码
  1. defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{"ORGANIZATIONNAME" = "COMPANY";}'  
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{"ORGANIZATIONNAME" = "COMPANY";}'

 

现在,再来看看。

 

Ios代码 复制代码 收藏代码
  1. //   
  2. //  testAppDelegate.m   
  3. //  test   
  4. //   
  5. //  Created by gaohf on 11-5-24.   
  6. //  Copyright 2011 COMPANY. All rights reserved.   
  7. //  
posted @ 2011-12-10 11:03  郑文亮  阅读(308)  评论(0编辑  收藏  举报