Set the Company Name in XCode 4
In XCode 3.x, we have to set the following company marco so that new source code won't show __MyCompanyName__ in new source code:
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{ "ORGANIZATIONNAME" = "First Water Tech Ltd"; }'
However, it won't work in XCode 4. According to XCode 4 release note:
The ORGANIZATIONNAME substitution value in templates is now replaced with the Company Name from the current user’s Address Book card if present, rather than _MyCompanyName_. If the PBXCustomTemplateMacroDefinitions user default has already been set, it will be honored.
That we have to set the company name of my name card in address book of the MacOSX.
由 water 在 週五, 2011-02-04 19:02 發表
Tags:

最新回應
32 周 3 天前
37 周 5 天前
41 周 1 天前
42 周 1 天前
50 周 6 天前
50 周 6 天前
51 周 12 小時前
51 周 1 天前
1 年 5 天前
1 年 1 周前