build settings icon problem [FIXED]

I’m developing a game for ipad and iphone. It should run in landscape orientation.
Everything works fine until i add icon settings in build.settings.
After i do that, default orientation switches to portrait (it shouldn’t be supported in my game).

What am i doing wrong?

Here are the files:
config.lua
[blockcode]
application =
{
content =
{
fps = 30,
width = 768,
height = 1024,
scale = “zoomEven”,
imageSuffix=
{
["@2"]=2,
}
},
}
[/blockcode]

build.settings
[blockcode]
settings =
{
orientation =
{
default = “landscape”,
supported =
{
“landscapeLeft”, “landscapeRight”, “landscape”
}
}
iphone=
{
plist=
{
CFBundleIconFile=
{
“Icon.png”,
“Icon-72.png”,
“Icon@2x.png”,
}
}
}
}
[/blockcode]

Thanks in advance [import]uid: 105206 topic_id: 18760 reply_id: 318760[/import]

You forgot a comma (,) after the orientation table. Very common mistake. I suspect we’ve all done that at some time :smiley:

orientation = { default = "landscape", supported = { "landscapeLeft", "landscapeRight", "landscape" } }, -- iphone= { ... } [import]uid: 61899 topic_id: 18760 reply_id: 72177[/import]

Omg that damned comma!
Thanks a lot CluelessIdeas! From now on, i’ll check every single comma i need. [import]uid: 105206 topic_id: 18760 reply_id: 72190[/import]