• 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: George Warner <email@hidden>
  • Date: Fri, 19 Dec 2008 10:35:38 -0800
  • Thread-topic: Age Old Question: How Do You Set __MyCompanyName__

on 12/19/08 9:40 AM, Jack Repenning at <email@hidden> wrote:

> On Dec 18, 2008, at 5:44 PM, George Warner wrote:
>> Just a thought, how about adding a "New Run Script Build Phase" to
>> your project; all the script does is:
>>[...]
> Sorry, I'm lost. Why are you using a custom script for this?

Because the script solution works TODAY with Xcode 2.5 and 3.x.

> I think your goal is to have project-specific settings, yes? If so, what's
> wrong with setting them in the project defailts (InfoPlist.strings)?

Because today's (or yesterdays) Xcode doesn't look in the
<InfoPlist.strings> file for ORGANIZATIONNAME; it looks for it in the
dictionary of the PBXCustomTemplateMacroDefinitions default settings for
Xcode (and failing that uses the Address Book entry).

> Having a build target that changes the central Xcode prefs for each
> project seems like in invitation to disaster: switch between projects,
> forget to build something, create a new file, bingo: wrong attribution.

Granted the script solution isn't perfect but short of a possible future
Xcode fix (that probably won't work with Xcode 2.5 or 3.1.2, etc.) it's
better than the developer having to remember to change the Xcode default or
the Address Book entry manually.

--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)


 _______________________________________________
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: Jack Repenning <email@hidden>
References: 
 >Re: Age Old Question: How Do You Set __MyCompanyName__ (From: Jack Repenning <email@hidden>)

  • Prev by Date: Re: Buttons in IB not displaying images
  • Next by Date: Re: How to disable auto-opening files in the main Xcode window?
  • 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