http://blog.sina.com.cn/s/blog_6fbe21070101c2w5.html

plutil -convert xml1 some_file.plist                   将som_file.plist转换为xml文本
plutil -convert binary1 some_other_file.plist 转换为二进制格式,之后将不能编辑

plist 文件有两种格式,一种是编码后的二进制格式,另一种是大家平时所见的 XML 格式. iphone里的.plist文件一般采用binary格式(编码后的, 也就是平时大家所说"乱码" 的文件)保存.两种格式的 plist 在 iPhone 上都可以使用. 如果用文本编辑器直接修改二进制文件, 会造成文件的损坏.


 

相关文章:

  • 2022-02-03
  • 2021-11-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2022-02-28
相关资源
相似解决方案