修改plist 为xml格式

Apple has introduced a new  .plist  file format in 10.4. You'll notice that you can no longer just edit a  .plist  file in TextEdit or other text editors. The reason for this is that the files are now binary rather than raw XML. 

Luckily for us, there is a command line utility called  plutil  that can convert back and forth between the two formats. You can convert the  .plist  file you want to edit to XML format, edit it in TextEdit, then convert back to binary for use. To convert a binary  .plist  file to XML format for editing, type this in the Terminal:
plutil -convert xml1 some_file.plist
To convert an XML .plist file to binary for use:
plutil -convert binary1 some_other_file.plist
Replace  some_file.plist  and  some_other_file.plist  with the actual filenames, obviously...
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值