• 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: Phil Hystad <email@hidden>
  • Date: Wed, 17 Dec 2008 10:44:10 -0800

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.

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
  • Follow-Ups:
    • Re: Age Old Question: How Do You Set __MyCompanyName__
      • From: Jeremy Pereira <email@hidden>
    • Re: Age Old Question: How Do You Set __MyCompanyName__
      • From: Chris Espinosa <email@hidden>
References: 
 >Age Old Question: How Do You Set __MyCompanyName__ (From: Phil Hystad <email@hidden>)

  • Prev by Date: Re: Age Old Question: How Do You Set __MyCompanyName__
  • 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