Is there any way to set the app version in code, e.g. a config file? Every time an app is built the version is 1.0 by default so it must be updated for later revisions. Ideally I would like to set the version in code and check it into SCM. Then the dialog would reflect that config. [import]uid: 43692 topic_id: 17497 reply_id: 317497[/import]
yes, you would set that in the build.settings file
cheers,
?
[import]uid: 3826 topic_id: 17497 reply_id: 66433[/import]
How would you set it? I’ve tried setting CFBundleVersion in the iphone section and also:
build =
{
custom = “a1234”,
}
as shown above but neither seem to change the 1.0 figure in the Build for iOS dialog. [import]uid: 43692 topic_id: 17497 reply_id: 66440[/import]
do not worry about the version number in the Build dialog, just manually change that. The important details that Apple/iTunes checks for is the one in CFBundleVersion.
cheers,
?
[import]uid: 3826 topic_id: 17497 reply_id: 66448[/import]