• 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: The Ages Old __MyCompanyName__ Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The Ages Old __MyCompanyName__ Question


  • Subject: Re: The Ages Old __MyCompanyName__ Question
  • From: Randall Meadows <email@hidden>
  • Date: Wed, 17 Dec 2008 12:20:42 -0700

On Dec 17, 2008, at 9:32 AM, Phil Hystad wrote:

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__?

defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{ "ORGANIZATIONNAME" = "Your Company, Inc."; }'


works (I just tested it again in Xcode 3.1.1).

You have to quit Xcode and *then* run this for it to work, though.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >The Ages Old __MyCompanyName__ Question (From: Phil Hystad <email@hidden>)

  • Prev by Date: Re: NSTimer help
  • Next by Date: Re: UNIX signals
  • Previous by thread: Re: The Ages Old __MyCompanyName__ Question
  • Next by thread: Re: The Ages Old __MyCompanyName__ Question
  • Index(es):
    • Date
    • Thread