• 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: ORGANIZATIONNAME -- __MyCompany__ -- Not in User Defaults?!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ORGANIZATIONNAME -- __MyCompany__ -- Not in User Defaults?!?


  • Subject: Re: ORGANIZATIONNAME -- __MyCompany__ -- Not in User Defaults?!?
  • From: Peter Blazejewicz <email@hidden>
  • Date: Tue, 18 Nov 2008 15:39:12 +0100

hi Jerry,


On Nov 18, 2008, at 2:44 PM, Jerry Krinock wrote:

So, there are actually ^four^ places Xcode can get this from:

#1  Value for key ORGANIZATIONNAME in dictionaryPBXCustomTemplateMacroDefinitions in user defaults for com.apple.Xcode.
#2  NSHumanReadableCopyright string in the InfoPlist.strings for the active project.
#3  Personal card in Apple Address Book.
#4  Hard-coding the template files in /Developer/Library/Xcode/File Templates.

I've not tested to find the search/priority order among these.  Obviously the hack #4 is "first" in priority, if «ORGANIZATIONNAME» is overwritten.

as of Xcode/IB 3.1.0 that applies (from release notes):

The ORGANIZATIONNAME substitution value in templates is now replaced with the Company Name from the current user’s Address Book card if present, rather than __MyCompanyName__. If the PBXCustomTemplateMacroDefinitions user default has already been set, it will be honored.

file:///Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.DeveloperTools.docset/Contents/Resources/Documents/releasenotes/DeveloperTools/RN-Xcode/index.html#//apple_ref/doc/uid/TP40001051-DontLinkElementID_2

regards,
Peter
 _______________________________________________
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: ORGANIZATIONNAME -- __MyCompany__ -- Not in User Defaults?!?
      • From: Jack Repenning <email@hidden>
References: 
 >ORGANIZATIONNAME -- __MyCompany__ -- Not in User Defaults?!? (From: Jerry Krinock <email@hidden>)
 >Re: ORGANIZATIONNAME -- __MyCompany__ -- Not in User Defaults?!? (From: Peter van Peursem <email@hidden>)
 >Re: ORGANIZATIONNAME -- __MyCompany__ -- Not in User Defaults?!? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: ORGANIZATIONNAME -- __MyCompany__ -- Not in User Defaults?!?
  • Next by Date: debugging information in OCUnit
  • Previous by thread: Re: ORGANIZATIONNAME -- __MyCompany__ -- Not in User Defaults?!?
  • Next by thread: Re: ORGANIZATIONNAME -- __MyCompany__ -- Not in User Defaults?!?
  • Index(es):
    • Date
    • Thread