Closed nriley closed 2 years ago
We're crashing on this:
AXAttributedDescription Forward{
AXATextAlignmentValue = 0;
AXFont = {
AXFontFamily = ".AppleSystemUIFont";
AXFontName = ".SFNS-Regular";
AXFontSize = 13;
AXVisibleName = "System Font Regular";
};
AXForegroundColor = "<CGColor 0x600002340180> [<CGColorSpace 0x6000023055c0> (kCGColorSpaceICCBased; kCGColorSpaceModelRGB; Generic RGB Profile)] ( 1 1 1 0.898039 )";
AXLanguage = "en-US";
}
My guess is that the CGColor
in AXForegroundColor
is the issue. NSAttributedString
is very annoying to serialize manually, so I was using NSPropertyListXMLFormat_v1_0
with a [[NSKeyedArchiver alloc] initRequiringSecureCoding:YES]
. I'll allow that to fail more gracefully.
fixed in beta 0.2.0-201
Works, thanks!
Same setup as in #434. This also affects AXSlider and AXHeading.