Skip to content

Instantly share code, notes, and snippets.

@bomberstudios
Created November 15, 2016 21:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bomberstudios/9bdc5d32c95bc4c00cce03e9267e1652 to your computer and use it in GitHub Desktop.
Save bomberstudios/9bdc5d32c95bc4c00cce03e9267e1652 to your computer and use it in GitHub Desktop.
How to fix Principle 2.0.6

If you're using Principle 2.0.6, you're probably aware that its Sketch importer no longer works with Sketch 41. We've made some changes to the way our exporter works under the hood, and as a result they had to update a few lines of code on the plugin they run to import from Sketch.

Surprisingly, they've decided to make their fix available only for users of Principle 2.1 (a paid upgrade). If you'd rather not have to pay for a trivial fix, here's what you can do:

  • Download the trial for Principle 2.1 from https://principleformac.com
  • Right click the app bundle you just downloaded, choose "Show Package Contents", and navigate to Principle.app/Contents/Resources/
  • Select the script.js file and copy it (Cmd+C)
  • Now go to your Applications folder, right click Principle.app, choose "Show Package Contents" and navigate to Principle.app/Contents/Resources/
  • Paste script.js (Cmd+V)
  • Relaunch Principle 2.0.6

Importing from Sketch 41 should now work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment