[Resolved] Build.settings orientation parsing problem?

The build.settings file below is divided in two sections, which I think should be equivalent (at least in the orientation section, which is what I’m concerned with here). But the first section handles auto-rotation properly, while the second (commented-out) section doesn’t, and I’ve spent at least a half-hour trying to figure out what is making the difference between them… Am I missing something here?

[lua]settings = {

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

iphone = {
plist = {
UIStatusBarHidden = false,
UIPrerenderedIcon = true, – set to false for “shine” overlay
UIApplicationExitsOnSuspend = false,
UIAppFonts =
{
“AveriaSerifGWF-Regular.ttf”
},
}
},

}

–[[
settings =
{
orientation =
{
default = “portrait”,
supported =
{
“portrait”, “landscapeLeft”, “landscapeRight”, “portraitUpsideDown”
}
},

iphone =
{
plist =
{
UIStatusBarHidden = false,
UIPrerenderedIcon = true,
UIApplicationExitsOnSuspend = false,
UIAppFonts =
{
“AveriaSerifGWF-Regular.ttf”}
},
},
},
}
–]][/lua] [import]uid: 117162 topic_id: 30936 reply_id: 330936[/import]

Never mind… an extra brace after the font list. Sorry!
[import]uid: 117162 topic_id: 30936 reply_id: 123696[/import]

Always the way, post it and then solve it :wink:

Thanks for posting your solution, marking as resolved.

Peach :slight_smile: [import]uid: 52491 topic_id: 30936 reply_id: 123734[/import]

Never mind… an extra brace after the font list. Sorry!
[import]uid: 117162 topic_id: 30936 reply_id: 123696[/import]

Always the way, post it and then solve it :wink:

Thanks for posting your solution, marking as resolved.

Peach :slight_smile: [import]uid: 52491 topic_id: 30936 reply_id: 123734[/import]