I can't work out why it keeps failing. It returns NO. I have searched this all afternoon, but nothing explains why or how to fix. Calling [[NSFileManager defaultManager] isWritableFileAtPath:] returns NO, which leads me to believe that the existing plist file can not be overwritten, but I can't work out how to change this.
+3
A:
You can write ONLY files in Documents directory. But your plist file is not there
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
oxigen
2009-08-12 11:16:53
This is not 100% true, as you can also write into your ApplicationSupport folder.
Aleksandar Vacic
2010-08-14 21:18:04