cocos2d-x js on-device debugging with black screen ,why?

Hi, my codes run well on ipad simulator.
When I install it on the ipad , only black screen come out with fps information.
And I wonder all the resources are not loaded , does anybody know how to solve?

I’m getting a similar issue.

I’m using Cocos2D v3.7, NDK r10e, JavaScript. My game runs perfectly fine when I debug it on Chrome (web) but when I try it in the iOS simulator or my android device I get a black screen.

Hi all, you can find the errors in Out put windows. because when u run games on web, it uses cocos2d-html5 framework, and when u build games on native platform (by xcode or VS) , it use JSB and Cocos2d-x (cpp) and a Spidermonkey to run JS code. So keeep calm and try debug again!