Director Class is not working on Device

Hello,

 The director class Is not showing the scene on device:

require “CiderDebugger”;-----------------------------------------------------------------------------------------

– main.lua


–Debug the smart way with Cider!

–start coding and press the debug button

local director = require(“director”)

_W=display.contentWidth

_H=display.contentHeight

local mainGroup = display.newGroup()

local function adListener(event)

    local msg = event.response

    if event.isError then

        – Failed to receive an ad, we print the error message returned from the library.

        print(msg)

    end

end

local function main()

    display.setStatusBar( display.HiddenStatusBar )    

    

        mainGroup:insert(director.directorView)

    

    splash = display.newImage(“Images/splashscreen.png”,_W,_H) – Load splash image

    splash.x=_W/2

    splash.y=_H/2

  

    return true

    

    

end

main()