Question

I use XCode 5 and it's a project's rule to increment version number by 1 with every commit.

Is there an easier way to go about doing it instead of manually incrementing it with every commit?

EDIT: If that's not possible, is there a chance we can get the last SVN revision number in the application code before committing?

No correct solution

OTHER TIPS

If your goal is just to have an iterative build number / version number and you are a little handy with the shell you could write a pre-build script that gets the SVN Revision number and then sets it into the Info Plist

You could use any combination of tools to craft exactly the build number you wanted, and then whenever a build was made the info plist would have the latest build number present.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top