http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/XcodeUserDefaultRef/100-Xcode_User_Defaults/UserDefaultRef.html – XCode customization

https://discussions.apple.com/message/12992012?messageID=12992012#12992012?messageID=12992012

For Xcode you can load terminal:

defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions ‘{“ORGANIZATIONNAME” = “<your value>”}’

You may ask how and where find the template of File – http://www.cocoadev.com/index.pl?XcodeprojectTemplates%5Bsearch you disk, you will find it ^_^]

> defaults write com.apple.Xcode <key> <value>
> defaults read com.apple.Xcode <key>
> defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions  -dict <key> <value> //overwrite the existing key-value
> defaults read com.apple.Xcode PBXCustomTemplateMacroDefinitions -dict <key> 
> defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions  -dict-add <key> <value> //add new key-value

 

Advertisements