Problems with the initial orientation on iPad

I have developed an App called Chess Repertoire with Corona SDK version 2014.2197. In this version of Corona when I launch the App on iPhone it starts on portrait mode. But if I launch on the iPad, the App starts on landscape mode. 

Yesterday I tried to upload to AppleStore a new update of the App but I received an invalid binary message after an upload successful with “Application uploader 2.9.1”.

Then I update Corona SDK to 2014.2432 version and my App doesn’t start on landscape mode on the iPad. 

Could anybody help me to solve this problem? Thanks in advance.

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

},
iphone =
{
plist =
{
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles =
{
“Icon.png”,
“Icon@2x.png”,
“Icon-Small-40.png”,
“Icon-Small-40@2x.png”,
“Icon-60.png”,
“Icon-60@2x.png”,
“Icon-72.png”,
“Icon-72@2x.png”,
“Icon-76.png”,
“Icon-76@2x.png”,
“Icon-Small-50.png”,
“Icon-Small-50@2x.png”,
“Icon-Small.png”,
“Icon-Small@2x.png”,
},
UIAppFonts =
{
“ChessAlpha2.ttf”,
“FontAwesome.otf”
},
},
},

android =
{
–usesExpansionFile = true,

usesPermissions =
{
“android.permission.VIBRATE”,
“com.android.vending.BILLING”,
“android.permission.INTERNET”,
“com.android.vending.CHECK_LICENSE”,
“android.permission.WRITE_EXTERNAL_STORAGE”,
},
supportsScreens =
{
smallScreens = true,
normalScreens = true,
largeScreens = true,
xlargeScreens = false,
},
},

plugins =
{
– key is the name passed to Lua’s ‘require()’
[“plugin.google.iap.v3”] =
{
– required
publisherId = “com.coronalabs”,
supportedPlatforms = { android = true }
},
},
}

settings.iphone.plist[“UIInterfaceOrientation~ipad”] = “UIInterfaceOrientationLandscapeRight”
settings.iphone.plist[“UISupportedInterfaceOrientations~ipad”] =
{
“UIInterfaceOrientationLandscapeRight”,
“UIInterfaceOrientationLandscapeLeft”
}[/lua]

Please, I need help 

does it work properly in the corona simulator and the xcode simulator?

Your build.settings does not permit horizontal apps.

Rob

jflowers45, in corona simulator never work fine because only work on ipad. On xcode simulator I don’t try.

Rob, How can I launch horizontal mode on iPad? With Corona SDK version 2014.2197 it works fine and Chess Repertoire App in the AppStore launches portrait on iPhone and landscape on iPad. 

Please, I need help 

does it work properly in the corona simulator and the xcode simulator?

Your build.settings does not permit horizontal apps.

Rob

jflowers45, in corona simulator never work fine because only work on ipad. On xcode simulator I don’t try.

Rob, How can I launch horizontal mode on iPad? With Corona SDK version 2014.2197 it works fine and Chess Repertoire App in the AppStore launches portrait on iPhone and landscape on iPad.