I got error “Cocos2d: Get data from file(splash_scene/splash.png) failed!” when I ran my iOS cocos2d-x project on Simulator. Here is my code:
// in AppDelegate.cpp
// in Splash Scene
CCSprite *splashSprite = CCSprite::create(“splash_scene/splash.png”); -->crash here
My resources organised:
Please help to to fix it in case I don’t want to change current organization of resources. Thanks.