Domanda

I am distributing my .ipa via Xcode 4.5 archiving mechanism over the air to my testers. Found out, that earlier the automaticly generated plist-file contained the bundle-version of the current build.

I'd like to get this bundle-version into my plist automatically, when exporting the archive to my desktop, because thats a main action I do very often.

Is there an easy way to add the bundle version to the plist automatically or do I have to write a shell script, which opens the .ipa and reads the information to write it to the plist later?

I want to use this, to send my beta testers reminders to update the beta app, when the version differs to the installed bundle version.

Any ideas or hints?

È stato utile?

Soluzione

I fixed it!

Till now I used CFBundleVersion for my version string, but CFBundleShortVersionString is set into plist, which was empty the whole time.

Thank you for your support. Hope other people will fix this issues faster from now. :-)

Altri suggerimenti

The bundle version string specifies the build version number of the bundle. This value is a monotonically increased string, comprised of one or more period-separated integers.

There is your problem. You can't have parentheses or letters in your bundle version, only numbers and dots.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top