Simple (probably) build.settings question

I have a very simple iPad only app that I am trying to submit. It was rejected because I did not have my app set up to show landscape and landscapeupside down.

"Specifically, we noticed your app only supported the top-left variant of the landscape orientation, but not the top-right variant."

The problem is that I am having issues getting it to build the way they want it even though I am sure this is a very simple fix. Here is my existing build.settings file. What exactly should it look like to get it to pass Apple's standards? As I said, when I try what I think should be correct it fails to build or does something strange when testing it.

I know the code below says portrait, and it is supposed to. So in reality I guess I need to display in portrait and portrait upside down.

In case you can't tell, I am a total noob at this...

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
settings =
{
        orientation =
        {
                default = "portrait",
        },
 
        iphone =
        {
                plist =
                {
                        CFBundleIdentifier = "com.musicedmagic.carolsclarinet",
                        CFBundleDisplayName = "Christmas Carols For Clarinet",
                },
        },
}

try looking at this link

http://developer.anscamobile.com/content/configuring-projects

1
2
3
4
5
6
7
8
9
10
settings =
{
    orientation =
    {
        default = "portrait",
        supported =
        {
            "portrait", "portraitUpsideDown", "landscapeRight", "landscapeLeft"
        }
    },

sorry that sounded a little rude, wasn't meant to be. trying to be helpful good luck :)

I didn't take it as rude. :)

I actually have been using that page as a reference but the stuff I tried has not worked. As I said, I am completely new to this and only got into it because there were no apps available that could do what I wanted.

Even after reading that document and playing around with various iterations of it the app still does not auto-rotate from portrait to portraitupsidedown. Here is the revised code I was using that did not work:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
settings =
{
  orientation =
        {
                default = "portrait",
                supported =
                {
                        "portrait", "portraitUpsideDown",
                },
        },
 
        iphone =
        {
                plist =
                {
                        CFBundleIdentifier = "com.musicedmagic.carolsclarinet",
                        CFBundleDisplayName = "Christmas Carols For Clarinet",
                },
        },
}

try this

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
settings =
{
  orientation =
        {
                default = "portrait",
                supported =
                {
                        "portrait", "portraitUpsideDown",
                },
        },
 
        iphone =
        {
                plist =
                {
 
 
UIInterfaceOrientation = "UIInterfaceOrientationPortrait",
 
            UISupportedInterfaceOrientations =
            {
                "UIInterfaceOrientationPortrait",
                "UIInterfaceOrientationPortraitUpsideDown"
            },
                        CFBundleIdentifier = "com.musicedmagic.carolsclarinet",
                        CFBundleDisplayName = "Christmas Carols For Clarinet",
                },
        },
}
views:1426 update:2011/11/26 9:01:35
corona forums © 2003-2011