When I built and compressed my app for submitting for Apple's review, I am displayed with the warning:

The Info.plist in the package must contain the CFBundleShortVersionString key.

This is not contained in my Info.plist. Any help on how I can fix this?

3

There are 3 answers

10
BradzTech On

The CFBundleShortVersionString in your Info.plist identifies the version string for your app, such as 1.0 or 3.5.1. As your error implies, it is required in the Info.plist.

Simply open your project's Info.plist, choose Add Row, and enter CFBundleShortVersionString, which may change to "Bundle versions string, short". Set the type to String and the value to a version identifier for your app; use 1.0 if it's the first version. Now re-archive.

Info.plist entry

You should also be able to change the version string by going to the General tab of your target in Xcode. Target>General>Version

0
gordoneliel On

I had a similar problem and it turns out that Xcode wiped out the build number in an app extension I created. If you have any app extensions make sure that the version and build number are present.

0
Hamed On

Swift3

Add Bundle versions string, short to info.plist like this Image:

enter image description here