Cocos2d-x ver. 2.1.4 problem with setResourceDirectory

Hello !
I have problem in iOS SDK with method calling - CCFileUtils::sharedFileUtils()->setResourceDirectory(“hd”);

Compiler return following error message: No member named ‘setResourceDirectory’ in’cocos2d::CFileUtils’. Is something wrong with this version of Cocos2d, because on 2.0.4 it was OK…

Thanks for answer.

Regards, Petr

I also got the same issue, does anyone give me some help ?:slight_smile:

acordint to http://www.cocos2d-x.org/wiki/Mechanism_of_loading_resources

CCFileUtils::sharedFileUtils()->setSearchPaths(searchPath) is the solution.