Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configuring the xcode environment



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >RE: Configuring the xcode environment (From: Jeff Laing <email@hidden>)
 >Re: Configuring the xcode environment (From: Mike Lazear <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.