The Info.plist file is missing CFBundleShortVersionString

Hi Everyone…

I am trying to upload my app and I got this ERROR

in application loader 3 the newest one

ERROR ITMS-9000 “Missing plist key. The Info.plist file is missing the require key: CFBundleShortVersionString”

Any suggestions in how to solve this

Also I got some WARNINGS for Missing reccomended icon 120, 152, and 76 but I know for sure I have those in my main folder

Please I need your help

Thank you very much


I saw this on line

http://community.phonegap.com/nitobi/topics/cfbundleshortversionstring-missing-error-when-submitting-app-to-store-ios

someone said that they add “string” to something

<gap:config-file platform=“ios” parent=“CFBundleShortVersionString”>
<string>114</string>
</gap:config-file>

and this fix the problem…

In Corona how would I do that? I don’t get it


Same thing here

This is an easy fix. You just need to add the CFBundleShortVersionString key to your Info.plist file.

Click your Info.plist file in your project. Right click and select “Add Row”. Then paste in the string “CFBundleShortVersionString”. It will automatically change it to read: “Bundle versions string, short”.

Then choose a value like 1.0 or whatever you want your version to be.

but nothing in Corona SDK

Hi @helloworld2013d,

Please add the following line to your “plist” table in “build.settings”:

[lua]

CFBundleShortVersionString = “1.0”,

[/lua]

See this forum post for more details:

http://forums.coronalabs.com/topic/51237-build-error-when-building-app-for-xcode-simulator/?hl=cfbundleshortversionstring#entry266056

Brent

This is how I have it now

local whichWay = "landscapeRight" -- set this to portrait or landscape ---------------------------------- local oDefault = "landscapeRight" local oSupported = {"landscapeLeft","landscapeRight"} if whichWay == "portrait" then &nbsp; oDefault = "portrait" &nbsp; oSupported = {"portrait","portraitUpsideDown"} end &nbsp; settings = { &nbsp; orientation = &nbsp; { &nbsp;&nbsp;&nbsp; default = oDefault, &nbsp;&nbsp;&nbsp; supported = &nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oSupported[1], oSupported[2] &nbsp;&nbsp;&nbsp; }, &nbsp; }, &nbsp; iphone = &nbsp; { &nbsp;&nbsp;&nbsp; plist = &nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UIApplicationExitsOnSuspend = false, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UIPrerenderedIcon = true, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UIStatusBarHidden = true &nbsp;&nbsp;&nbsp; }, &nbsp; }, }

I think I will add it here

plist =
    {

      CFBundleShortVersionString = “1.0”,
      UIApplicationExitsOnSuspend = false,
      UIPrerenderedIcon = true,
      UIStatusBarHidden = true
    },

I hope this is correct

Yes, that is the proper place to add it. :slight_smile:

Thanks Brent, I think it works! I still got the WARNINGS for the icons, I just ignore them, At the end of application loader it says “Thanks for your submitting”, kind of like they got it. I’m not sure.

But in the new itunnes… what happens with all the

– wating for upload

– upload binary

– binary received

– wating for review

all that I don’t see it at all

And I don’t know if I’m doing it correctly.

All I see it’s a BUILD window

 "Submit your build using Xcode 5.1.1 or later, or Application Loader 3.0 or Later

I use Application loader, how Do I know if they got my app or not?

Please make sure to read this guide:

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#appicons

Copy the build.settings code from there for the icons and add it to your build.settings in the right place.  Make sure you have icons with those names that are the right size.  Follow that formula and you will be good to go.  Deviate from it and expect warnings.

Rob

I will read more on that…

but what happens to

– upload binary

– waiting for upload

– upload received

– waiting for review

you know… the little red, and green light

how do I know if they got my upload?

Hi @helloworld2013d,

Please add the following line to your “plist” table in “build.settings”:

[lua]

CFBundleShortVersionString = “1.0”,

[/lua]

See this forum post for more details:

http://forums.coronalabs.com/topic/51237-build-error-when-building-app-for-xcode-simulator/?hl=cfbundleshortversionstring#entry266056

Brent

This is how I have it now

local whichWay = "landscapeRight" -- set this to portrait or landscape ---------------------------------- local oDefault = "landscapeRight" local oSupported = {"landscapeLeft","landscapeRight"} if whichWay == "portrait" then &nbsp; oDefault = "portrait" &nbsp; oSupported = {"portrait","portraitUpsideDown"} end &nbsp; settings = { &nbsp; orientation = &nbsp; { &nbsp;&nbsp;&nbsp; default = oDefault, &nbsp;&nbsp;&nbsp; supported = &nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oSupported[1], oSupported[2] &nbsp;&nbsp;&nbsp; }, &nbsp; }, &nbsp; iphone = &nbsp; { &nbsp;&nbsp;&nbsp; plist = &nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UIApplicationExitsOnSuspend = false, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UIPrerenderedIcon = true, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UIStatusBarHidden = true &nbsp;&nbsp;&nbsp; }, &nbsp; }, }

I think I will add it here

plist =
    {

      CFBundleShortVersionString = “1.0”,
      UIApplicationExitsOnSuspend = false,
      UIPrerenderedIcon = true,
      UIStatusBarHidden = true
    },

I hope this is correct

Yes, that is the proper place to add it. :slight_smile:

Thanks Brent, I think it works! I still got the WARNINGS for the icons, I just ignore them, At the end of application loader it says “Thanks for your submitting”, kind of like they got it. I’m not sure.

But in the new itunnes… what happens with all the

– wating for upload

– upload binary

– binary received

– wating for review

all that I don’t see it at all

And I don’t know if I’m doing it correctly.

All I see it’s a BUILD window

 "Submit your build using Xcode 5.1.1 or later, or Application Loader 3.0 or Later

I use Application loader, how Do I know if they got my app or not?

Please make sure to read this guide:

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#appicons

Copy the build.settings code from there for the icons and add it to your build.settings in the right place.  Make sure you have icons with those names that are the right size.  Follow that formula and you will be good to go.  Deviate from it and expect warnings.

Rob

I will read more on that…

but what happens to

– upload binary

– waiting for upload

– upload received

– waiting for review

you know… the little red, and green light

how do I know if they got my upload?