Here is my build setting
settings = 
{
iphone =
        {
                    
                plist=
                {
UIStatusBarHidden = true,
                                                UIApplicationExitsOnSuspend = true,                                 UIPrerenderedIcon = true,
                        CFBundleIconFile = “Icon.png”,
                              CFBundleIconFiles = {
                            “Icon.png” , 
                            “Icon@2x.png” , 
                            “Icon-72.png” , 
                            “Icon-Small-50.png” , 
                            “Icon-Small.png” , 
                            “Icon-Small@2x.png”
                        },
                },
        },
    orientation = 
    {
        default = “portrait”,
        supported = 
        {
        “portrait”,
        },
                    
    }
    
}
    
Here is the config 
if string.sub(system.getInfo(“model”),1,4) == “iPad” then
    application = 
    {
        content =
        {
            width = 360,
            height = 480,
            scale = “letterBox”,
            xAlign = “center”,
            yAlign = “center”,
            imageSuffix = 
            {
                ["@2x"] = 1.5,
                ["@4x"] = 3.0,
            },
        },
        notification = 
        {
            iphone = {
                types = {
                    “badge”, “sound”, “alert”
                }
            }
        }
    }
elseif string.sub(system.getInfo(“model”),1,2) == “iP” and display.pixelHeight > 960 then
    application = 
    {
        content =
        {
            width = 320,
            height = 568,
            scale = “letterBox”,
            xAlign = “center”,
            yAlign = “center”,
            imageSuffix = 
            {
                ["@2x"] = 1.5,
                ["@4x"] = 3.0,
            },
        },
        notification = 
        {
            iphone = {
                types = {
                    “badge”, “sound”, “alert”
                }
            }
        }
    }
elseif string.sub(system.getInfo(“model”),1,2) == “iP” then
    application = 
    {
        content =
        {
            width = 320,
            height = 480,
            scale = “letterBox”,
            xAlign = “center”,
            yAlign = “center”,
            imageSuffix = 
            {
                ["@2x"] = 1.5,
                ["@4x"] = 3.0,
            },
        },
        notification = 
        {
            iphone = {
                types = {
                    “badge”, “sound”, “alert”
                }
            }
        }
    }
elseif display.pixelHeight / display.pixelWidth > 1.72 then
    application = 
    {
        content =
        {
            width = 320,
            height = 570,
            scale = “letterBox”,
            xAlign = “center”,
            yAlign = “center”,
            imageSuffix = 
            {
                ["@2x"] = 1.5,
                ["@4x"] = 3.0,
            },
        },
    }
else
    application = 
    {
        content =
        {
            width = 320,
            height = 512,
            scale = “letterBox”,
            xAlign = “center”,
            yAlign = “center”,
            imageSuffix = 
            {
                ["@2x"] = 1.5,
                ["@4x"] = 3.0,
            },
        },
        notification = 
        {
            iphone = {
                types = {
                    “badge”, “sound”, “alert”
                }
            }
        }
    }
end