It the docs, it says that you can use different orientations in your build.settings file for iOS vs. Android. But I can’t find a single example of how to do this. My problem is that I need to do my iOS builds using landscapeLeft orientation which isn’t supported in Android. And if I use that same build.settings file to do my build for Android, it crashes the install process on the device by saying: “there is a problem parsing the package”
Here is my iOS build.settings file:
[lua]settings = {
orientation =
{
default = “landscapeLeft”,
content = “landscapeLeft”,
supported = { “landscapeLeft”,}
},
iphone = {
plist = {
UIApplicationExitsOnSuspend = false,
UIStatusBarHidden = true,
UIPrerenderedIcon = true,
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png” ,
“Icon@2x.png” ,
“Icon-72.png”
},
UIAppFonts = {
“ropsenscriptbold.ttf”,
“MAFT____.TTF”
}
}
},
}[/lua]
And this is what my Android build.settings should be:
[lua]settings =
{
orientation =
{
default = “landscapeRight”
},
iphone = {
plist = {
UIApplicationExitsOnSuspend = false,
UIStatusBarHidden = true,
UIPrerenderedIcon = true,
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png” ,
“Icon@2x.png” ,
“Icon-72.png”
},
UIAppFonts = {
“ropsenscriptbold.ttf”,
“MAFT____.TTF”
}
}
},
}[/lua]
Is there a way to do this or do I have to switch out build.settings files every time I do a test build? (Either way, the docs could use this info.)
[import]uid: 10818 topic_id: 30905 reply_id: 330905[/import]