You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 13, 2022. It is now read-only.
The Polaris.clr file created produces errors when trying to load it in Swift. The file can be found here.
What I've Noticed:
When initializing a NSColorList (the object that represents .clr files in Swift) using the Polaris.clr, I get this error:
Failed to initialize color list unarchiver: Error Domain=NSCocoaErrorDomain Code=4864
The interesting thing is that re saving the file using the NSColorListobject and using that instead fixes this issue.
More Info:
I am also able to format the re saved Polaris.clr into XML1 format using mac's built in terminal command: plutil -convert xml1 /path/to/polaris.clr
however when I use the Polaris.clr in this repo, I get the following error:
Property List error: Unexpected character at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.
The text was updated successfully, but these errors were encountered:
Issue:
The
Polaris.clr
file created produces errors when trying to load it in Swift. The file can be found here.What I've Noticed:
When initializing a
NSColorList
(the object that represents.clr
files in Swift) using thePolaris.clr
, I get this error:The interesting thing is that re saving the file using the
NSColorList
object and using that instead fixes this issue.More Info:
I am also able to format the re saved
Polaris.clr
into XML1 format using mac's built in terminal command:plutil -convert xml1 /path/to/polaris.clr
however when I use the
Polaris.clr
in this repo, I get the following error:The text was updated successfully, but these errors were encountered: