here is the code
NSString* favPlistPath = [[NSBundle mainBundle] pathForResource:@"favs" ofType:@"plist"];
NSMutableDictionary* favPlistDict = [[NSMutableDictionary alloc] initWithContentsOfFile:favPlistPath];
favArray = [[NSMutableArray alloc] initWithCapacity:100];
for(int i=0; i<[favPlistDict count]; i++)
{
//app is crashing here
[favArray insertObject:[favPlistDict objectForKey:[NSNumber numberWithInt:i]] atIndex:i];
}
in my favs.plist file there is single entry key: 0 value: 5