rebeloper / SwiftyPlistManager

Lightweight plist data management framework for iOS 10.3+
http://rebeloper.com
MIT License
77 stars 19 forks source link

What Cause An Error "fileNotWritten"? #8

Open luthfifr opened 6 years ago

luthfifr commented 6 years ago

Hi, I just installed your SwiftyPlistManager pod and tried to write a String data into the desired plist file. I get an error "fileNotWritten", what cause this error? I tried to write String data into String field. The key name is also correct. I only get this description in debug console:

SwiftyPlistManager] File not written successfully [SwiftyPlistManager] fileNotWritten [SwiftyPlistManager] An Action has been performed. You can check if it went ok by taking a look at the current content of the 'Others.plist' file: [SwiftyPlistManager] { "$archiver" = NSKeyedArchiver; "$objects" = ( "$null", "Fran\U00e7ais" ); "$top" = { "Selected Language" = "<CFKeyedArchiverUID 0x1c442b940 [0x1b379e538]>{value = 1}"; }; "$version" = 100000; }

It doesn't explain to me why it shows the "fileNotWritten" error.

Can you help me?

Thank you.