Increase commit version number

I am using Xcode 5 and this is a project rule to increase the version number by 1 with each commit.

Is there an easier way to do this instead of manually zooming in on each commit?

EDIT: If this is not possible, is there any chance that we can get the latest SVN version number in the application code before committing?

+4
source share
1 answer

If your goal is to have an iterative build number / version number and you are a little comfortable with the shell, you can write a pre-build script that will get the SVN Version Number and then set it to Info Plist

, , , , plist .

0

Source: https://habr.com/ru/post/1529780/


All Articles