あなたの道は間違っています。plist がアプリ リソースにある場合は、NSBundle
絶対パスを取得するために使用する必要があります。
NSString *path = [[NSBundle mainBundle] pathForResource:@"data" ofType:@"plist"];
NSMutableDictionary *dict = [[NSDictionary dictionaryWithContentsOfFile:path]
mutableCopy];
アプリのドキュメント フォルダーにある場合は、次の操作を実行できます。
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *basePath = ([paths count] > 0) ? [paths objectAtIndex:0] : nil;
NSString *path = [basePath stringByAppendingPathComponent:@"data.plist"];
NSMutableDictionary *dict = [[NSDictionary dictionaryWithContentsOfFile:path] mutableCopy];
plist からロードされた辞書または配列は常に不変であることに注意してください。変更可能なコピーを作成する必要があります。