Closed L1ghtmann closed 1 year ago
This doesn't work because NextSTEP plist format is not supported by libplist. I am planning to add support for it (like I recently added JSON support) but I don't know when it will be finished.
Gotcha. Appreciate the response!
Tested and confirmed working on all aforementioned test cases. You're the man, Nikias. Thanks so much for your continued work on this awesome project!
Fixed by https://github.com/libimobiledevice/libplist/commit/60d291941fadb72b66d11502710add5899e21a2d
First off, I want to thank you for this project and libimobiledevice in general. Time and time again I find myself using a library or tool from libimobiledevice and your hard work is greatly appreciated!
The issue: Recently I added support for
plistutil
in an xml/plist->bplist wrapper script I was working on and noticed that it failed to convert a few of the files I threw at it during my testing.The files that failed included: Swift.xspec (NextSTEP):
Localizable.strings (Also NextSTEP (?))
Vinyl.plist (Single-line format (?))
Note: I'm not 100% on the format classifications I gave to the files above.
The errors: Swift.xspec:
ERROR: Could not parse plist data (-3)
Localizable.strings:ERROR: Could not parse plist data (-3)
Vinyl.plist:ERROR: Failed to convert plist data (-1)
Upon running
plistutil -i filename.extension -f bin -o filename.extension
with plistutil versionplistutil 2.2.0-88-g7d2cdc6-dirty
on Linux (WSL).