• 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: Versions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Versions


  • Subject: Re: Versions
  • From: Frank Midgley <email@hidden>
  • Date: Fri, 23 Jan 2004 10:15:28 -0600

On Jan 23, 2004, at 10:06AM, Laurent Daudelin wrote:

I think the original poster was just asking if there was an easier way to
put the version numbers in one place. The 2nd poster turned it into a
request.

For Info.plist's at least you can use build variables. Just put $(MY_BUILD_VARIABLE) wherever you want it throughout the plist file and then have that variable defined when you build. This could be specified in each target's build settings or passed to xcodebuild like:


	xcodebuild -buildstyle Deployment build MY_BUILD_VARIABLE="1.0"

You could have a separate build  variable for the copyright year, etc.

-Frank

------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Versions (From: "Laurent Daudelin" <email@hidden>)

  • Prev by Date: Re: Versions
  • Next by Date: Control-Tick?
  • Previous by thread: Re: Versions
  • Next by thread: Re: Versions
  • Index(es):
    • Date
    • Thread