Landscape working in simulator but not device

I may be getting tired (or too much Christmas cheer :)) but I must be overlooking something. I have the following build.settings file which works absolutely fine and as expected in the simulator

[lua]settings =
{
orientation =
{
default = “landscapeRight”,
supported =
{
“landscapeLeft”, “landscapeRight”,
},
},

iphone =
{
plist =
{
UIInterfaceOrientation = “landscapeRight”,

UISupportedInterfaceOrientations =
{
“landscapeRight”,
“landscapeLeft”,
},
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png” ,
“Icon@2x.png” ,
“Icon-72.png” ,
“Icon-Small-50.png” ,
“Icon-Small.png” ,
“Icon-Small@2x.png”
},
CFBundleDisplayName = “AlphaRelease”,
UIPrerenderedIcon = true,
UIStatusBarHidden = true,
UIApplicationExitsOnSuspend = true,

},

},

}[/lua]

However, when I compile and send to my device (iPhone 4) for testing it is portrait orientation only and doesn’t rotate to landscape and obviously doesn’t work as it did in the simulator.

What am I doing wrong? If it helps I’m on 2011.591 as I’m yet to pay for the subscription.

Thanks [import]uid: 103970 topic_id: 19568 reply_id: 319568[/import]

MIne does, but its a lot less busy than that.
Try this , and add stuff back in until it breaks…

[code]
settings =
{
orientation =
{
default = “landscapeRight”,
supported =
{
“landscapeRight”, “landscapeLeft”
},
},

iphone =
{
plist =
{
UIStatusBarHidden=true,
UIPrerenderedIcon = false
},
}

}[/code] [import]uid: 108660 topic_id: 19568 reply_id: 75543[/import]

It transpired there was a dodgy character in the text file. Thanks for your help [import]uid: 103970 topic_id: 19568 reply_id: 75799[/import]

Also just a note … you shouldn’t need to have the below lines :

UIInterfaceOrientation = “landscapeRight”,

UISupportedInterfaceOrientations =
{
“landscapeRight”,
“landscapeLeft”,
}, [import]uid: 84637 topic_id: 19568 reply_id: 76489[/import]