sketch-hq/SketchAPI

No structure encoding found for CGRect

mianaliasjad opened this issue · 2 comments

i am trying the example code in the run script window. but this error happends.

Error: An Obj-C exception occurred. at [native code] (/) at value (/Applications/Sketch.app/Contents/Resources/SketchAPI.js:1:13803) at r (/Applications/Sketch.app/Contents/Resources/SketchAPI.js:1:29224) at onRun (/Users/aliasjad/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Untitled.sketchplugin:12:22) nativeException: No structure encoding found for CGRect Script executed in 0.039289s

Please share the exact code snippet you're trying to run.

Getting the same issue here: skpm/sketch-module-web-view#183

Seems pretty common. Works with Sketch 93 onwards, but nothing before then.