After Sketch update to v86, our plugin broke. The log says:
TypeError: null is not an object (evaluating 'bitmapRepresentation.CGImage')
Is it related to NSColorSpace
? If so, I have NSColorSpace.sRGBColorSpace()
in the project. What would be the replacement for:
let exporter = MSExporter.exporterForRequest_colorSpace(exportRequest, NSColorSpace.sRGBColorSpace())
const colorSpace = this.context.document.colorSpace()