Re: Configuring the xcode environment
Re: Configuring the xcode environment
- Subject: Re: Configuring the xcode environment
- From: David Ewing <email@hidden>
- Date: Wed, 26 Jan 2005 12:17:50 -0700
This command should work:
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions
'{ORGANIZATIONNAME = "My Company"; }'
You need to restart Xcode after running that in Terminal.
Dave
On Jan 26, 2005, at 12:05 PM, Mike Lazear wrote:
On Jan 17, 2005, at 9:26 PM, Jeff Laing wrote:
Presumably there are other mappings (ie, more than just
ORGANIZATIONNAME =>
__CompanyName__) but I haven't seen them documented anywhere...
Ok, now that I look again, I see that its very well explained at:
http://www.cocoadev.com/index.pl?XcodeProjectTemplates
Has anyone gotten this to work?
When editing the com.apple.Xcode.plist I did not find an existing entry
for PBXCustomTemplateMacroDefinitions so I added one.
The web page from the above link says to modify or add:
PBXCustomTemplateMacroDefinitions? '{ "ORGANIZATIONNAME" = "My
Company";}'
I'm not sure if the ? mark is suppose to be there or not an whether or
not
we need to add the single quotes around the braces. I've tried the
following without success: (all combinations of with/without quotes
and
with/without ?)
PBXCustomTemplateMacroDefinitions { "ORGANIZATIONNAME" = "My Company";}
PBXCustomTemplateMacroDefinitions '{ "ORGANIZATIONNAME" = "My
Company";}'
PBXCustomTemplateMacroDefinitions? { "ORGANIZATIONNAME" = "My
Company";}
PBXCustomTemplateMacroDefinitions? '{ "ORGANIZATIONNAME" = "My
Company";}'
I was also not sure if we need to exit XCode each time but I did.
I figured that maybe I misspelled something so I also tried doing a
cut/paste from the
web page to make sure it was correct.
If anyone has gotten this to work I would appreciate clarification on
the quotes,
question mark and other other formatting issue I may be missing.
Thanks,
Mike _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden