• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Configuring the xcode environment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Configuring the xcode environment
      • From: Mike Lazear <email@hidden>
References: 
 >RE: Configuring the xcode environment (From: Jeff Laing <email@hidden>)
 >Re: Configuring the xcode environment (From: Mike Lazear <email@hidden>)

  • Prev by Date: Re: Importing Codewarrior Projects
  • Next by Date: Re: Distributed build overhead and Mac Mini vs XServe pricing
  • Previous by thread: Re: Configuring the xcode environment
  • Next by thread: Re: Configuring the xcode environment
  • Index(es):
    • Date
    • Thread