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: Andy Lee <email@hidden>
- Date: Thu, 18 Dec 2008 15:08:00 -0500
On Dec 18, 2008, at 2:28 PM, George Warner wrote:
On Thu, 18 Dec 2008 08:42:22 -0600, "Jason Foreman"
<email@hidden>
wrote:
On Thu, Dec 18, 2008 at 7:23 AM, Sebastien Metrot
<email@hidden> wrote:
I agree. The current behaviour is akward at best and it's the
reason why I
don't use the template and change the source code by hand instead
of relying
on a smart automated process that I can setup per project.
I also agree that per-project settings would be ideal. Everyone who
wants that has filed a bug, right? Here's mine: 6455273
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.
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! :)
It's starting to sound simpler to have *no* expansion for
__MyCompanyName__, and to do my own find-and-replace as I go. I
wonder if I would have been terribly annoyed if there had never been
macro substitution in the first place. After all, I've put up with
applications named "NewApplication" all these years...
--Andy
_______________________________________________
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