sketch-hq / SketchAPI

The JavaScript plugin library embedded in Sketch
https://developer.sketch.com/reference/api
MIT License
842 stars 126 forks source link

No structure encoding found for CGRect #909

Open mianaliasjad opened 1 year ago

mianaliasjad commented 1 year ago

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

rodionovd commented 1 year ago

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

SteveEdson commented 1 year ago

Getting the same issue here: https://github.com/skpm/sketch-module-web-view/issues/183

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