Hi,
its 2 day I’m trying to build Corona Viewer but every time i get error 5 error like in image:
I use this config.lua:
if ( string.sub( system.getInfo("model"), 1, 4 ) == "iPad" ) then \_G.Device="ipad" -- ipad application = { content = { width = 360, height = 480, scale = "letterBox", xAlign = "center", yAlign = "center", imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, } elseif ( string.sub( system.getInfo("model"), 1, 2 ) == "iP" and display.pixelHeight \> 960 ) then \_G.Device="iphone5" -- iphone 5 application = { content = { width = 320, height = 568, scale = "letterBox", xAlign = "center", yAlign = "center", imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, } elseif ( string.sub( system.getInfo("model"), 1, 2 ) == "iP" ) then \_G.Device="iphone4" -- iphone 4 application = { content = { width = 320, height = 480, scale = "letterBox", xAlign = "center", yAlign = "center", imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, } elseif ( display.pixelHeight / display.pixelWidth \> 1.72 ) then \_G.Device="android\_16:9" -- android 16:9 application = { content = { width = 320, height = 570, scale = "letterBox", xAlign = "center", yAlign = "center", }, } else \_G.Device="android" -- android application = { content = { width = 320, height = 512, scale = "letterBox", xAlign = "center", yAlign = "center", }, } end
And this is the build setting (after change)
-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight settings = { orientation = { default = "landscapeRight", supported = { "landscapeRight"}, }, iphone = { plist = { CFBundleIconFiles = { "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" }, UIStatusBarHidden = true, UIPrerenderedIcon = true, -- set to false for "shine" overlay CFBundleShortVersionString = "1.0", UIAppFonts = { "Apple-Chancery.ttf" }, CoronaUseIOS7IPadPhotoPickerLandscapeOnlyWorkaround = true, CoronaUseIOS6IPadPhotoPickerLandscapeOnlyWorkaround = true, CoronaUseIOS7LandscapeOnlyWorkaround = true, CoronaUseIOS6LandscapeOnlyWorkaround = true, UIApplicationExitsOnSuspend = false, FacebookAppID = "1428180157442377", CFBundleURLTypes = { { CFBundleURLSchemes = { "fb1428180157442377", "db-l1q0pln8qsi8qyp" } } } } }, -- For Android, the internet permission is required android = { usesPermissions = { "android.permission.INTERNET", "android.permission.CAMERA", "android.permission.WRITE\_EXTERNAL\_STORAGE", } }, plugins = { -- key is the name passed to Lua's 'require()' ["plugin.viewer"] = { -- required publisherId = "com.coronalabs", }, ["facebook"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=false }, }, -- key is the name passed to Lua's 'require()' ["plugin.carrot"] = { -- required publisherId = "com.gocarrot", }, }, }
Here there is console log that I have.
Do you have any suggestion in what I’m doing wrong?
Regards,
Girolamo
EDIT:
I can’t build neither with the basic CoronaViewer soon after download it from git hub,
waiting for help…