Hi there, I've got a simple app that's trying to save some data between invocations using NSKeyedArchiver/NSKeyedUnarchiver. It works fine on the simulator, but when I export it to real iPhone hardware, NSKeyedArchiver fails to be able to write to disk.
I'm using the class method
[NSKeyedArchiver archiveRootObject:myRootObject toFile:@"data.archive"]
All my objects in 'myRootObject' implement the NSCoding protocol. Again, on the simulator, this returns YES and everything's good. On the device, this returns NO and nothing has saved. (Both are 2.2.1)
Is there some write permission or something an app needs to be able to write to the phone's HD? Anybody already seen this?
Thanks for your help in advance.