invalid object in plist for destination format

Error: invalid object in plist for destination format

When you convert the .plist file to json, you could see this problem


plutil -convert json -e json ./filename.plist
./filename.plist: invalid object in plist for destination format

Solution

Remove the key and date using any editor, then re convert again.

 

<key>some text</key>
<date>2013-06-20T15:31:58Z</date>

 

Author: Justin Soo

https://plus.google.com/105604283199591348183