错误:writeToFile没有写入成功
2017-05-23 00:00
375 查看
错误:
[_Array writeToFile:[self Path] atomically:YES];没有写入成功。原因:
查阅手册发现:If an array or dictionary contains objects that are not property-list objects, then you cannot save and restore the hierarchy of data using the various property-list methods and functions.
即存的不能是自定义的对象 或 null。
解决方法:
我的错误是存入的字典带null,改正就OK了。相关文章推荐
- 错误:writeToFile没有写入成功
- writeToFile写入不成功的原因
- writeToFile写入不成功的原因
- writeToFile写入不成功
- 06 - writeToFile写入不成功/无法写入的原因
- CS0016: 未能写入(A compilation error has occurred.HttpCompileException: error CS0016: Could not write to output file 拒绝访问)
- avassetwrite向同一文件重复写入 暂停,继续录制 how-to-write-to-a-single-file-multiple-times with pause/resume
- mysql 出现 Can't create/write to file 的错误
- WriteToFile写入沙盒路径
- 【服务器】关于错误:Smarty:unable to write file
- 【封装】WriteToFile——数据写入文件
- VS编译错误:mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file
- writetofile(保存自定义目录下不成功)
- 在本地计算机无法启动mysql服务 错误1067:进程意外中止 日志错误:MySQL: Can't create/write to file 'D:\\mysql\Data\admin.pid' (Errcode: 13)
- mysqldump 备份命令错误 Can't create/write to file '' (Errcode: 13)
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- 今天进行svn的提交时出现的错误Cannot write to the prototype revision file of transaction
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- 写文件 :数组,字典,字符串, NSData 都有同一个 writeToFile 方法写入文件
- prjGetWriteINIFile - How to Read-Write INI file using VB & API - 读取/写入INI文件 - VB6 + API - SourceCode - HackerJLY