SketchAPI icon indicating copy to clipboard operation
SketchAPI copied to clipboard

No structure encoding found for CGRect

Open mianaliasjad opened this issue 2 years ago • 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

mianaliasjad avatar Dec 15 '22 05:12 mianaliasjad

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

rodionovd avatar Dec 15 '22 14:12 rodionovd

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.

SteveEdson avatar Apr 12 '23 19:04 SteveEdson