I am using Xcode 4.2 now. I wonder if there is a way to update my app’s version (subversion) number each time I build the app. So for example, now it’s 1.5.17, and then after a build, it’ll be changed to 1.5.18
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can increment the build number by an sh script.
Click on Build Phase in your Project Target then Add Run Script and add the following script: