I'm working on a tool that will help teams using Sketch turn their .sketch files into HTML. We love the sketchtool dump and the new file format!
In order to support all sketch versions, we'd like to use the sketchmigrate tool to update all docs to the latest version before we process them. However I can't get the sketchmigrate tool to run.
I am running the sketchmigrate as
sketchmigrate convert /Users/Jared/Desktop/Untitled.sketch /Users/Jared/Desktop/Untitled4.sketch
Am I calling it the wrong way? When I run that line I get a crash. Details of the crash are below.
Sketch version: 47.1
Jaredesktop$ sketchmigrate convert /Users/Jared/Desktop/Untitled.sketch /Users/Jared/Desktop/Untitled4.sketch
2017-11-01 14:18:16.967 sketchmigrate[15328:540959] DB Error: 26 "file is encrypted or is not a database"
2017-11-01 14:18:16.967 sketchmigrate[15328:540959] DB Query: select name, value from metadata
2017-11-01 14:18:16.967 sketchmigrate[15328:540959] DB Path: /Users/Jared/Desktop/Untitled.sketch
-[NSFileWrapper fileWrappers] *** this method is only for directory type NSFileWrappers