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: Jeremy Pereira <email@hidden>
- Date: Thu, 18 Dec 2008 12:39:47 +0000
On 17 Dec 2008, at 18:44, Phil Hystad wrote:
Answers...
I got two answers which are quoted below. The first one is the
procedure I found by googling and this did not work even though I
have double-checked that the value I set for the ORGANIZATIONNAME is
indeed what I want it to be.
I tried the first method in Xcode 3.1.2 and it worked fine.
Except I capitalised the "X" of "Xcode". If the key is case
sensitive, that might be your problem.
But, when I use Gerd Knops' method (the second one below), it
works. However, I have never run across this before and I cannot
find any documentation pointing to this method.
Is there some great mystery here -- are both methods supposed to
work or does one depend on the other?
Thanks for the help in both responses though.
phil
email@hidden
On Dec 17, 2008, at 10:30 AM, Darren Adkinson wrote:
Phil,
is this what you tried:
defaults write com.apple.xcode PBXCustomTemplateMacroDefinitions
'{ ORGANIZATIONNAME = "MyCompany"; }'
to find your setting,
$defaults find PBXCustom
Found 1 keys in domain 'com.apple.Xcode': {
PBXCustomTemplateMacroDefinitions = {
ORGANIZATIONNAME = MyCompany;
};
}
I'm sure there was a thread on the cocoa list or Xcode list in the
last five or six months in which someone had highlighted several
different ways to do this.
On Dec 17, 2008, at 10:26 AM, Gerd Knops wrote:
On Dec 17, 2008, at 12:19 PM, Phil Hystad wrote:
I posted this earlier today on Cocoa mailing list but I think
Xcode should have been my target.
OK, I am fairly new to Xcode and Cocoa programming and I want to
change the __MyCompanyName__ template macro definition.
So, I google this question, find answers, and try it out. It did
not work. So, is there something different in today's Xcode that
means the procedure for changing __MyCompanyName__ is different.
I think the most recent entry I found (with a date) was 2005 or so.
The procedure I tried was to set ORGANIZATIONNAME in the
PBXCustomTemplateMacroDefinitions key of the Xcode plist. First,
I could not find it by looking at the plist. So, I tried the
defaults command from the shell and this seemed to work but no
change in behavior on Xcode in spite of cycling Xcode and trying a
number of other things.
So, How do you change __MyCompanyName__?
In AddressBook.app, define your address and then use "Make This My
Card" in the Card menu.
Gerd
_______________________________________________
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