Submission to app store unable to find metadata.xml

For your orientation issue, replace the orientation block in your build.settings with something like:

    orientation =
    {
        default = “landscapeRight”,
        supported = { “landscapeRight”, “landscapeLeft” },
    },

As for your image sizes, what size images are you loading?  Can you post some of your image loading code?  Your content area is 800 pixels high (in Landscape mode) and 1200 pixel wide.  Lets say your background image is 320x480 and you do:

local background = display.newImageRect(“background.png”, 480, 320)

In this case your background is going to take up less than 1/4th of the screen.  Your background would need to be 1200 px wide and 800 px high (since you’re landscape) and you would need to do:

local background = display.newImageRect(“background.png”, 1200, 800)

Rob

Hi Rob, 

Thanks for getting back to me. I’ve changed the orientation but it’s still portrait. Does the config.lua above look ok?

This is how I usually add background images:

local background = display.newImage(“bbg.png”) 

localGroup:insert(background)

And I’ve been using 480x320 with the splash screen image “Default-568h-@2.png” though I realise that’s well out of date.

So what I need to do is scale up my images and specify the size as above?

With my other images, should I also specify the sizes required? i.e. text and buttons etc

Thanks!

Can you post the build.settings again after your changes?  The orientation should be pulled from what I gave you above.

If you do this:

local background = display.newImage("bbg.png")  localGroup:insert(background)

OK, here’s build.settings

settings = 

{

     orientation = {

                default = “landscapeRight”,

        supported = { “landscapeRight”, landscapeLeft” },

    }

           

    iphone = {

        plist = {

            UIStatusBarHidden=false,

            —-UIApplicationExitsOnSuspend = true,

            UIPrerenderedIcon = true,

            

            CFBundleIconFiles = { 

            “Icon-60.png”,

            “Icon-60@2x.png”,

            “Icon-Small-40.png”,

            “Icon-Small-40@2x.png”,

            “Icon.png”,

            “Icon@2x.png”,

            “Icon-Small.png”,

            “Icon-Small@2x.png”,

            },

        },

    },

}

settings = 

{

     orientation = {

                default = “landscapeRight”,

        supported = { “landscapeRight”, landscapeLeft” },

    },

           

    iphone = {

        plist = {

            UIStatusBarHidden=false,

            —-UIApplicationExitsOnSuspend = true,

            UIPrerenderedIcon = true,

            

            CFBundleIconFiles = { 

            “Icon-60.png”,

            “Icon-60@2x.png”,

            “Icon-Small-40.png”,

            “Icon-Small-40@2x.png”,

            “Icon.png”,

            “Icon@2x.png”,

            “Icon-Small.png”,

            “Icon-Small@2x.png”,

            },

        },

    },

}

You’re missing a comma at the end of the orientation block.

hmmmm, thanks Rob, I’ve added it but it’s still portrait in the top left hand corner.

Hate to be a pain…are there any other setting that I should check?

Have you adjusted your X, Y settings when creating objects to adjust for the Graphics 2.0 way of doing things?  Please read this:

http://docs.coronalabs.com/guide/graphics/migration.html

Thanks

Rob

Thank you!

I am getting this error when trying to sumbit to apple, through both application loaders.

 

        ERROR ITMS-9000: “This bundle is invalid. New apps and app updates submitted to the App Store must be built with public (GM) versions of Xcode 5 and iOS 7 SDK. Do not submit apps built with beta software.”

I tried uninstalling xcode and putting the older version on my system. Still same error. I noticed some warnings in the build text saying it could not find simulator 6.1 and will use 7.0 instead.

I’m currently downloading the 6.1 simulator.

That did not work…

What version of Corona SDK are you using?

Corona sdk version numbers  2013.1137 (2013.6.7)

I just uninstalled xcode again. Going to try with the september version xcode 5.

I didn’t think the 5.2 or 5.1 were beta previews, but I am running out of ideas.

If you are going to stay with Graphics 1.0, you need to get build 1262.  You can read about it here:

http://coronalabs.com/blog/2014/01/29/apples-ios-7-submission-requirements/

Though we just release our 3rd Graphics 2.0 build so the old graphics 1.0 builds are very behind on bug fixes and there are various vendor upgrades that have been thrown our way.  You should seriouslly consider moving to Graphics 2.0 (2189) to stay afront of these changes Apple, Google and such do that requires us to make changes.

Rob

That works, thanks Mr Miracle. I will be moving to Graphics 2 on my next app.

Hello,

I know I’m a little late to this but I’m having the same probs. I’ve read the above advice and opened the Application Loader directly in Xcode but unfortunately the same errors are coming up.

Icon. I originally had 57x57 (its been a while since I submitted) and it said I required 120x120, which I swapped. then it asks for 57x57? I’m assuming there should be two 57x57 and 120x120? and if so, they can’t both be named the same…did I miss something??

Also:

Apple’s web service operation was not successful

unable to authenticate package

Submissions must be built with public (GM) versions of Xcode 5 and iOS 7 (checked that)

Beta software? (I’m using Corona Version 2013.1175 (2013.7.30)

Can anyone help me please?

Thanks!

Hi @appolonia9.

First, build 1175 is very old.  It predates the last Graphics 1, public build and we are 3 pubiic builds into Graphics 2.0.  There have been many changes to Corona SDK and more importantly to Apple has changed their rules.  We are now building iOS 7 builds with Apple’s new rules.  You cannot submit to Apple with 1175.  If you need to stay with Graphics 1, there is a special build 1262 that you will need to submit to Apple.  However, Apple has changed the rules since 1262 was put out and if your app does not use Ads you will have to move to the latest Graphics 2.0 public build.

Because your apps can still run on iOS 6, you need to provide icons for both iOS 6 and iOS 7.  You need to follow this guide:

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

to assist you with your Icons.

Rob

Hi Rob,

OK…I’m well out of date :slight_smile: Thanks a mill and for the link.

Much appreciated

Hello again,

not sure if I’m posting this in the right place but, I’ve installed the latest build and I’m having a few problems with the orientation and scaling.

In build.settings I have:

settings = 

{

     orientation =

        {

                content = “landscapeRight",

           

    iphone =

    {

        plist=

        {

            UIStatusBarHidden=true,

            UIApplicationExitsOnSuspend = true,

            UIPrerenderedIcon = true,

            

            CFBundleIconFiles = { 

            “Icon-60.png”,

            “Icon-60@2x.png”,

            “Icon-Small-40.png”,

            “Icon-Small-40@2x.png”,

            “Icon.png”,

            “Icon@2x.png”,

            “Icon-Small.png”,

            “Icon-Small@2x.png”,

            },

        },

    },

}

and config.lua - 

application =

{

        content =

        {

                width = 800,

                height = 1200,

                scale = “letterbox”,

                xAlign = “center”,

                yAlign = “center”,

                

                imageSuffix = 

                {

                ["@2x"] = 1.5

                

                }

        }

}

the orientation is still portrait and my images are tiny, bunched up in the top, left of the screen…not sure what I’m missing or what I need to edit.

Help, please

Thanks!

For your orientation issue, replace the orientation block in your build.settings with something like:

    orientation =
    {
        default = “landscapeRight”,
        supported = { “landscapeRight”, “landscapeLeft” },
    },

As for your image sizes, what size images are you loading?  Can you post some of your image loading code?  Your content area is 800 pixels high (in Landscape mode) and 1200 pixel wide.  Lets say your background image is 320x480 and you do:

local background = display.newImageRect(“background.png”, 480, 320)

In this case your background is going to take up less than 1/4th of the screen.  Your background would need to be 1200 px wide and 800 px high (since you’re landscape) and you would need to do:

local background = display.newImageRect(“background.png”, 1200, 800)

Rob