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

Re: Versioning


  • Subject: Re: Versioning
  • From: Jeff LaMarche <email@hidden>
  • Date: Fri, 20 Feb 2004 11:00:57 -0500

On Feb 20, 2004, at 10:52 AM, Mark Eissler wrote:

I don't understand what you mean about "the various versions scattered throughout a project." agvtool isn't designed for versioning of source. It is build specific AFAIK. So when you are preparing a build (let's say for release) you would use agvtool to increment the build number and then recompile so that the build number shows up properly in your about box, in the finder, etc.

There is a short and long version string in the info.plist, there is a version number for each target, there is a "current project version" in the build styles. I am not concerned with source versioning, as CVS takes care of that, but I am currently keeping all this various version information in sync manually, and I'm sure there's a better way.

The key is that you have to run agvtool while xcode is not running. I think this was supposed to be fixed but I find if xcode is running, even if I have closed my project, after running agvtool xcode will complain that my project has been edited (or changed) outside of the app. You must also recompile in order for the build numbers to be reflected in your built app.

That is very helpful, and very likely my problem. I keep getting errors when I try to have it tag a release. I'll play around with it some more and see if that was my issue. Thanks.
_______________________________________________
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.
References: 
 >Versioning (From: Jeff LaMarche <email@hidden>)
 >Re: Versioning (From: Mark Eissler <email@hidden>)

  • Prev by Date: PackageMaker, Installer, and system folder permissions
  • Next by Date: Re: How to load a nib from a path
  • Previous by thread: Re: Versioning
  • Next by thread: Re: Versioning
  • Index(es):
    • Date
    • Thread