Nanaimo can't parse binary plist
tosbaha opened this issue · comments
Mustafa Dur commented
Nanaimo reads the whole plist and checks the header to determine the file type. However, this is problematic because, due to the nature of binary plist, some files may throw an invalid byte sequence in UTF-8 (ArgumentError)
I attached an example plist to experience this issue. The only solution I have found is instead of reading the whole plist, we can just read 6 bytes from the plist. Which will cover both bplist
,xml
, and ascii
comparisons.