Re: Age Old Question: How Do You Set __MyCompanyName__
Re: Age Old Question: How Do You Set __MyCompanyName__
- Subject: Re: Age Old Question: How Do You Set __MyCompanyName__
- From: Andrei Freeman <email@hidden>
- Date: Thu, 18 Dec 2008 14:32:03 -0800
I remember reading that the company setting in your addressbook "me"
item also gets picked up if you don't set it by the defaults.
If you haven't set a "me" card with company, then you get the default.
See: http://boredzo.org/blog/archives/2006-03-28/how-to-evict-__mycompanyname__-from-their-office-building
-Andrei
On Dec 18, 2008, at 2:26 PM, George Warner wrote:
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
_______________________________________________
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