Como salvar um valor em um arquivo plist no iphone?

Estou usando o código abaixo para adicionar o valor ao plist, mas ao verificar o plist após executar o código, não vejo nenhum valor salvo no plist. Onde eu errei? por favor me ajude.O plist que eu criei está na pasta resource.Thanks.

NSString *path = [[NSBundle mainBundle] bundlePath];
NSString *finalPath = [path stringByAppendingPathComponent:@"regvalue.plist"];
NSMutableDictionary* plistDict = [[NSMutableDictionary alloc] initWithContentsOfFile:finalPath];
[plistDict setValue:@"hello" forKey:@"choice"];
[plistDict writeToFile:finalPath atomically: YES];

Para recuperar o valor

NSString *path = [[NSBundle mainBundle] bundlePath];
NSString *finalPath = [path stringByAppendingPathComponent:@"regvalue.plist"];
NSMutableDictionary* plistDict = [[NSMutableDictionary alloc] initWithContentsOfFile:finalPath];
NSString *value;
value = [plistDict objectForKey:@"choice"];
NSLog(@"the value is %@",value);

Ele fornece apenas valor nulo.Por favor, me ajude.

questionAnswers(2)

yourAnswerToTheQuestion