Sunday, October 18, 2009

Follow-up on Versioning

While working with Hudson today and trying to get a CI server up for automated iPhone builds, I came across an article by Dave Murdock regarding versioning of iPhone apps. Turns out I did things slightly different to what is the - apparently - recommended behaviour:
  1. Use "CFBundleVersion" for your build number
  2. Use "CFBundleShortVersionString" for a version number like "0.1"
  3. Concatenate those strings within your application
This approach seems to be the standard behaviour in Mac OS X applications.

For integration with Hudson it also became apparent that updating the version number on Hudson builds using Apple's agvtool from within the Hudson build script was very straight forward and did not require additional files. So I'm basically using the Hudson build script as outlined by Michael with the versioning setup explained by Dave. Sweet!

No comments:

Post a Comment