Problem with App Version on iOS devices in last corona builds

Strange version of my app on iOS device:

I set version 1.0.02 in build window, then build, after install game on device and get 

Is it new feature of corona or bug?

Thank you!

I have the same question. To me, it is OK to have this new date/time version on “development” builds. But I’d sure like some assurance that it goes away entirely (and becomes my version number) on app submissions to Apple. Steve

I uploaded a version that had this. It looks like this in iTunes Connect:  JM8FAgY.png

system.getInfo( “appVersionString” ) return Bundle Version String :frowning:

How can I get Short Version String? (I’m using system.getInfo( “appVersionString” ) to show users info about current app version)

If you don’t provide the shortVersionString in your build.settings we make up one for you.  This is likely what you are seeing.

Search the forums for: 

CFBundleShortVersionString

and read some of the related posts.

Hi Rob.

I have same issue and I read some forums , but I can’t solve that.

Is it build.setting’s problem?

The following is my build.settings.

settings = { orientation = { default = "portrait", supported = { "portrait" } }, iphone = { plist = { CFBundleShortVersionString = "1.0", CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", }, }, }, }

Please let me know if it is wrong.

Thank you.

developer21, it is wrong.

You and I was misinformed by corona staff

You need write in build setting file 

CFBundleVersion = "1.0"

CFBundleShortVersionString has no relation to my first question :frowning:

@Dr.Klaus

Thank you for your advice!

My app works fine now…thank you.

Yes, the  CFBundleVersion  will change that “internal version” number. It is like the “version code” on Google Play. It is just a way to indicate what is the newer version.

For release purposes, the important is to set the  CFBundleShortVersionString  as Rob mentioned.

So, in summary:

iOS                                                      Android
CFBundleVersion                      =  Version code
CFBundleShortVersionString  =  Version name

Hi guys,

According to the engineers, this has been resolved in recent daily builds (I don’t have a specific build number but you can review the release notes to check).

In these builds, “CFBundleShortVersionString” uses the “Version” field in the iOS Build window and a basic formula “CFBundleVersion=yyyy.mm.ddtime” to make it unique for each build (this now being required when uploading to iTunesConnect).

Either field can be overridden by including it in the plist section of the build.settings file, but if you do that, you’ll need to remember to update it every time you do a new submission.

Note that public build users (2393a) must add “CFBundleShortVersionString” to the plist if they plan to submit apps to iTunesConnect.

Hope this clarifies things,

Brent

There’s still a bug when I upload to iTunes Connect.

In the build window I type 1.02 but in iTunes Connect the Bundle Short Version String as 1.2.

Yes, I can verify that. I was using 1.04  and the iTunes was showing 1.4.

Don’t remember if you set both manually inside your build.settings (instead of using the Corona Build Windows) will work or not.

It’s possible that Apple is processing the number and computing a major and a minor number which is why the 04 is turning into a 4.

Rob

I have the same question. To me, it is OK to have this new date/time version on “development” builds. But I’d sure like some assurance that it goes away entirely (and becomes my version number) on app submissions to Apple. Steve

I uploaded a version that had this. It looks like this in iTunes Connect:  JM8FAgY.png

system.getInfo( “appVersionString” ) return Bundle Version String :frowning:

How can I get Short Version String? (I’m using system.getInfo( “appVersionString” ) to show users info about current app version)

If you don’t provide the shortVersionString in your build.settings we make up one for you.  This is likely what you are seeing.

Search the forums for: 

CFBundleShortVersionString

and read some of the related posts.

Hi Rob.

I have same issue and I read some forums , but I can’t solve that.

Is it build.setting’s problem?

The following is my build.settings.

settings = { orientation = { default = "portrait", supported = { "portrait" } }, iphone = { plist = { CFBundleShortVersionString = "1.0", CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", }, }, }, }

Please let me know if it is wrong.

Thank you.

developer21, it is wrong.

You and I was misinformed by corona staff

You need write in build setting file 

CFBundleVersion = "1.0"

CFBundleShortVersionString has no relation to my first question :frowning:

@Dr.Klaus

Thank you for your advice!

My app works fine now…thank you.