문제

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?

올바른 솔루션이 없습니다

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top