sketch-measure
sketch-measure copied to clipboard
更新了sketch57以后,不能导出规范了
sketch 57 measure 2.8.1 文件的所有symbol均来自外部的组件库,当我将组建分离之后就可以导出。 是否是不支持外部组件库的symbol导致的。
Same here:
Could not read image data at /Users/jebbs/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Looper.sketchplugin/Contents/Resources/https:/github.com/sureskumar/Looper/raw/master/assets/logo.png
*** -[__NSArrayM objectAtIndex:]: index 9 beyond bounds [0 .. 8]
If detach all symbols, works fine.
是的 @qjebbs 但是这样做非常麻烦,而且会造成一些标注不准确
@simon-shaw See if this helps: https://github.com/utom/sketch-measure/issues/614#issuecomment-525582696
I found the cause. It happens when user creates and uses a symbol, which with Backgroud & checked Include background in instances:
This will create an extra rectangle with fill color of the background, for the detached instance, that's why the index always 1 more beyond the bounds.
我的symbol没有“包含于实例”
另外,大部分symbol是从文档外的组件库插入的
https://github.com/ellunium/sketch-measure-latest 下载这个热心网友的吧 我57 版本的导出没问题