how do i read Info.plist

how do i read Info.plist
0.0 0


i want to read Bundle version of Info.plist

CCDictionary<std::string, CCObject*> *dict = CCFileUtils::dictionaryWithContentsOfFile("/ExamGame/Resources/Info.plist"); CCArray *testitems = (CCArray*)dict->objectForKey("Bundle version");

but testitems is null.
how do i solve this problem?

  1. This method was moved to CCDictionary::createWithContentsOfFile(cont char*)
  2. You can trace into CCFileUtils to see if the dictionary was generated successfully, especially the plist file path is correct.