【已解决】cocostudio win 1.6版本输出的scene或ui,在xcode工程中加载失败,求助

代码很简单,都还没到addChild()

auto *s = SceneReader::getInstance()->createNodeWithSceneFile("RoomScene.json");
auto *layer = GUIReader::getInstance()->widgetFromJsonFile("RoomDesk.json");

错误1:
cocos2d: cocos2d: fullPathForFilename: No file found at Room/room.plist. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at Room/room.plist. Possible missing file.
cocos2d: cocos2d: SpriteFrameCache: Trying to use file Room/room.png as texture
cocos2d: cocos2d: fullPathForFilename: No file found at Room/room.png. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at Room/room.png. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at Room/room.png. Possible missing file.
cocos2d: Get data from file(Room/room.png) failed!
cocos2d: cocos2d: SpriteFrameCache: Couldn’t load texture
cocos2d: cocos2d: fullPathForFilename: No file found at Room/room-bg.jpg. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at Room/room-bg.jpg. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at Room/room-bg.jpg. Possible missing file.
cocos2d: Get data from file(Room/room-bg.jpg) failed!
(lldb)

错误2:
跟这个帖子一样:http://www.cocoachina.com/bbs/read.php?tid=216794&keyword=isobject

请问是不是我在代码中漏了点什么?谢谢

哎,是多层目录的问题,资源不能放在二级目录下,如果放到二级目录下,导出的json里,资源是这样的“xxxx/xxxx.png",这样xcode里加载就会出问题。