Here is our config.lua
local aspectRatio = display.pixelHeight / display.pixelWidth -- background size: width = 640\*1.125=720, height = 960\*1,1875=1140 application = { content = { width = aspectRatio \> 1.5 and 640 or math.ceil( 960 / aspectRatio ), height = aspectRatio \< 1.5 and 960 or math.ceil( 640 \* aspectRatio ), -- width = 640, --height = 960, scale = "letterBox", fps = 60, launchPad = false, }, }
When compiling for OSX there is an error:
attempt to index global display (a nil value)
Is there no display for OS X ?