How to read .plist file with c++ code?

Hi,all:
I’m convert these obj-c code to c++

NSString plistPath = pathForResource:"xxx" ofType:“plist”];
NSArray
animImages = [NSArray arrayWithContentsOfFile:plistPath];
NSMutableArray **animFrames = ;
for {
spriteFrameByName:animImage]];
}

So I use these code below:
CCDictionary<std::string, CCObject *>**testPlist = CCFileUtils::dictionaryWithContentsOfFile(CCFileUtils::dictionaryWithContentsOfFile(“xxx.plist”);

but crash without any log. :frowning:

How can I do?