[AC-2963] Studio 2.0 is not setting the short version string of build iOS apps
| GitHub Issue | n/a |
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Cannot Reproduce |
| Resolution Date | 2012-03-25T08:14:36.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Studio, Titanium SDK & CLI |
| Labels | build, version, xcode |
| Reporter | Steve Lombardi |
| Assignee | Shak Hossain |
| Created | 2012-03-20T06:20:10.000+0000 |
| Updated | 2016-03-08T07:47:58.000+0000 |
Description
Although I have set my app version to be 2.0 in my TiApp.xml file, the upload to the iTunes store fails:
This bundle is invalid. The key CFBundleVersionShortString in the Info.plist file must contain a higher version than that of the previously uploaded version.
I checked the info.plist in the build folder, and this key does indeed say 1.0, which is the same as the existing app. The other bundle version string does say 2.0. I have attached the info.plist and the tiapp.xml.
Attachments
| File | Date | Size |
| Info.plist | 2012-03-20T06:20:10.000+0000 | 1812 |
| tiapp.xml | 2012-03-20T06:20:10.000+0000 | 1619 |
Actually, looking in the Xarchive, there the CFBundleShortVersionString is 2.0. It's the info.plist in the app itself that is wrong.
This should be resolved in the latest SDK branch. History: TIMOB-7674
Found the download, and I confirm this is fixed in 2.0.0.v20120322091832
Can't reproduce with latest version of the studio.