sonburn / symbol-instance-locator

Locate all instances of a selected symbol or instance.
MIT License
160 stars 10 forks source link

Does not work with Sketch 69 :( #26

Open krdesign opened 4 years ago

krdesign commented 4 years ago

Error: An Obj-C exception occurred. at [native code] (/) at /Users/stefanofois/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Symbol Instance Locator.sketchplugin/Contents/Sketch/script.js:402:46 at forEach[native code] (/) at getSymbolOverrides (/Users/stefanofois/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Symbol Instance Locator.sketchplugin/Contents/Sketch/script.js:399:37) at locate (/Users/stefanofois/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Symbol Instance Locator.sketchplugin/Contents/Sketch/script.js:32:42) nativeException: -[MSImmutableColor setObject:forKeyedSubscript:]: unrecognized selector sent to instance 0x600011304dc0

sirpooya commented 4 years ago

same issue here 😕

sonburn commented 4 years ago

@krdesign @sirpooya Having a hard time finding any issue on my end, was able to locate instances of symbols that are local and from libraries. The code snippet above implies it has something to do with the part that finds instances used as overrides, but I tested that too had couldn't reproduce an issue. Are either of you able to reproduce the issue at a smaller scale, and might you be able to share that file?

sonburn commented 3 years ago

@krdesign, @sirpooya, as you can probably tell, my development on the plugin has slowed due to competing priorities. It's not for lack of interest though, rest assured. I have just published a fix that should improve responsiveness, result accuracy, and better darkmode support. Also includes a fix for Sketch 72. Do you guys mind giving it a shot?