Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: __MyCompanyName__ in templates



On Wed, 3 Mar 2004 12:04:48 +0100 Kay Roepke <email@hidden>
wrote:

> n 3. Mrz 2004, at 10:43 Uhr, Scott Little wrote:
>>
>> I realize that this is more of an xcode list question, but I thought
>> someone here could quickly tell me where the above value
>> (__MyCompanyName__) comes from when XCode detemplates the files. I have
>> set my company name in Address Book, but that didn't make any
>> difference.
>
> This is set in the user defaults (or defaults to __MyCompanyName__):
> (from my user defaults dictionary ;-))
>
> PBXCustomTemplateMacroDefinitions = {ORGANIZATIONNAME = ""; };

I could not figure out where the above syntax was obtained, or where it
should be entered. But entering the following command in Terminal did the
trick for me:

defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions -dict-add
ORGANIZATIONNAME "University of Washington"

Note that this is all one line, with a space before ORGANIZATIONNAME. Type

man defaults

in Terminal for more info.

--
Julian Vrieslander <email@hidden>
"Abandon hope, all ye who press enter here."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.