Jack
Jack

Reputation: 3943

ipad - How can I control the version of my iPad app?

I am not talking about the formal version control (svn, etc) for my iPad app.

I wish someone could tell me where in my app to set the version of the app.

For example, my app's product name is Go Here. To indicate the version, where should i set the version? bundle version in the plist? I need this version thing just in case that in the future, if I update the app store for newer version, people can download and update.

Should I modify the bundle version in the plist, but keep the product name and target name the same? If I make a newer version, I just update the bundle version only?

Thanks

Upvotes: 1

Views: 354

Answers (1)

DarkDust
DarkDust

Reputation: 92404

You just need to edit the "Bundle Version" (CFBundleVersion) in your Info.plist. That's it.

BTW, haven't tested, but you should be able to get the version at runtime with this:

versionString = [[[NSBundle mainBundle] infoDictionary] objectForKey:kCFBundleVersionKey];

Upvotes: 1

Related Questions