permalink

off

Auto Increment Build Number & Date in XCode iPhone Project

While developing application we keep sharing the builds with others. It is very difficult to find out which version they are using and the date it was build. To overcome this I was searching for methods that can used to auto increment build numbers and set the application build date. I found this article really useful.

Incrementing Build Numbers in Xcode

To that script I made few changes to suit my needs.

Please make sure you have added two variables “CFBuildNumber” and “CFBuildDate” in Project-Info.plist

You can access the version information using the following code

Hope this helps ;-)

Comments are closed.