I assume that you are asking here how to add your current commit  
revision to the application version? like V1.0 build 3212

after a quick google as I couldnt remember where it came from ;)
this is what I found and use
http://www.red-sweater.com/blog/23/automatic-build-sub-versioning-in-xcode

it works for me and I set the script to only run on release builds.

Also make sure the APPLICATION_VERSION var is set in the project not  
the target build settings as this could then cause issues with the  
debug and release versions not updating the application version  
correctly (took a while to work that one out!)

HTH

Kieren
On 08/04/2009, at 3:31 PM, Gatada wrote:

>
> Hi,
>
> I am sure this problem has a simple solution:
>
> How can I use the subversion/Versions revision number as the
> CFBundleVersion in my Xcode project?
>
> Maybe it even is a nice, clean and efficient way to get the
> CFBundleShortVersionString set correctly?
>
> Thanks!
> Johan
>
> CFBundleVersion: identifies an iteration (released or unreleased) of
> the application.
> CFBundleShortVersionString: [major revisions to the application].
> [revisions that implement less prominent features].[maintenance
> releases]
>
>
> PS: Hm, seems like my post timed out? This is second attempt. Sorry if
> it shows up twice (with slightly different content).
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Versions" group.
To post to this group, send email to versions@googlegroups.com
To unsubscribe from this group, send email to 
versions+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/versions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to