• 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: Age Old Question: How Do You Set __MyCompanyName__
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Age Old Question: How Do You Set __MyCompanyName__


  • Subject: Re: Age Old Question: How Do You Set __MyCompanyName__
  • From: George Warner <email@hidden>
  • Date: Thu, 18 Dec 2008 14:26:00 -0800
  • Thread-topic: Age Old Question: How Do You Set __MyCompanyName__

on 12/18/08 12:08 PM, Andy Lee at <email@hidden> wrote:
> On Dec 18, 2008, at 2:28 PM, George Warner wrote:
>> Because these macro expansions only happen when the project is
>> initially
>> created (expanded from a project template) when would you have the
>> opportunity to set it? After you've created a new project (too
>> late)? Or do
>> you think this should be prompted for at project creation time?
>
> Hm, hadn't thought of that.  If there's more than one expandable
> macro, there might have to be UI providing options to set them all
> when creating the project.  I don't know if this would be so bad (I
> think I'd be fine with it), but it would have to be considered
> carefully.

I don't think this would be too bad ether; as long as it's default value was
from PBXCustomTemplateMacroDefinitions (or the address book after that?).

>> Personally, I just set the PBXCustomTemplateMacroDefinitions default
>> (if I
>> want to change it) before I create a new project:
>>
>> defaults read com.apple.XCode
>> PBXCustomTemplateMacroDefinitions           {
>>    FULLUSERNAME = "George Warner";
>>    ORGANIZATIONNAME = "Apple, Inc.";
>> }
>>
>> Done! (ship it! ;-)
>
> You put your whole project in main.m?  Cool!  :)

Not; I usually just use the above; when I do need a different org I just do
a global search & replace before committing to SVN/CVS.

--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)


 _______________________________________________
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: Age Old Question: How Do You Set __MyCompanyName__
      • From: Andrei Freeman <email@hidden>
References: 
 >Re: Age Old Question: How Do You Set __MyCompanyName__ (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: linking QuantLib dynamic library in Xcode
  • Next by Date: Re: Age Old Question: How Do You Set __MyCompanyName__
  • Previous by thread: Re: Age Old Question: How Do You Set __MyCompanyName__
  • Next by thread: Re: Age Old Question: How Do You Set __MyCompanyName__
  • Index(es):
    • Date
    • Thread