Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Modify Sketch to never ending trial

###Sketch trial non stop

Open hosts files:

$ open /private/etc/hosts

Edit the file adding:

127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com

Open .licence file

In English:

 /Users/YOUR-USER-HERE/Library/Application\ Support/com.bohemiancoding.sketch3/.license

In Spanish:

 /Users/YOUR-USER-HERE/Libraría/Application\ Support/com.bohemiancoding.sketch3/.license

##NOTE: .licence is a hidden file

Show all hidden files with:

$ defaults write com.apple.finder AppleShowAllFiles YES

And edit three values: sign to ==, type to licence, and expiration to 999999999

 "sign":"=="
 "type”:”licence”
 "expiration”:”999999999”
@walnut261189

This comment has been minimized.

Copy link

commented Apr 9, 2017

Dude it works grt .... awesomeeeee

@randychampagne

This comment has been minimized.

Copy link

commented Apr 15, 2017

Thanks for this guide @Bhavdip. I tried it a few minutes ago but it did not work for version 41.2. Any suggestions?

@samgoog

This comment has been minimized.

Copy link

commented May 10, 2017

@Bhavdip thanks. but it isn't working really. Am unable to see the hidden files despite making the changes in the terminal.

@CrazyPython

This comment has been minimized.

Copy link

commented May 11, 2017

Also did not work here. Sketch says it is unable to verify the license.

@anitbt

This comment has been minimized.

Copy link

commented May 14, 2017

Doesn't work for Sketch 44 in beta version. The edits in the files are not being saved apparently.

@MIkeeJY

This comment has been minimized.

Copy link

commented May 18, 2017

Doesn't work for Sketch 44 in beta version. The edits in the files are not being saved apparently.

@dghez

This comment has been minimized.

Copy link

commented May 21, 2017

Same here, cannot neither see the .licence file and I'm sure I can see hidden files
Uploading Schermata 2017-05-21 alle 20.26.40.png…

@jambonn

This comment has been minimized.

Copy link

commented May 31, 2017

Doesn't work for Sketch 44.1 version. The edits in the files are not being saved apparently.

@frxncisjoseph

This comment has been minimized.

Copy link

commented Jun 2, 2017

Sketch is overwriting the file upon launch of the program so, in effect, the modified file is being restored.

Use the following line of code to set the license if you can't access the hidden file:

cd ~/'Library/Application Support/'com.bohemiancoding.sketch3/.license
@gags88

This comment has been minimized.

Copy link

commented Jun 2, 2017

can not find .license file in

cd ~/'Library/Application Support/'com.bohemiancoding.sketch3/.license

@juansw

This comment has been minimized.

Copy link

commented Jun 4, 2017

hey! can you help me plz
/Users/johnssd/Library/Application Support/com.bohemiancoding.sketch3/.license: Permission denied

@alexx3000

This comment has been minimized.

Copy link

commented Jun 4, 2017

@juansw
in terminal:
sudo nano /Users/johnssd/Library/Application Support/com.bohemiancoding.sketch3/.license
enter password
edit file
Then ctrl + X
Save and Exit
done

@snapchatdotcom

This comment has been minimized.

Copy link

commented Jun 7, 2017

Are you sure the property should be "licence", or "license"?

@sayn0thing

This comment has been minimized.

Copy link

commented Jun 11, 2017

Does this work for Sketch 44.1?

@smntb

This comment has been minimized.

Copy link

commented Jun 12, 2017

it does not work on Sketch 43, it overwrite the file

@Premal-Khetani

This comment has been minimized.

Copy link

commented Jun 15, 2017

@alexx3000 This is not working with 44.1 as it doesn't allow to save that file.

@generyanbriones

This comment has been minimized.

Copy link

commented Jun 15, 2017

That's sad. Any workaround?

@RemiVR

This comment has been minimized.

Copy link

commented Jun 16, 2017

cd ~/'Library/Application Support/'com.bohemiancoding.sketch3
and after write comand: ls -la and you should be able to all files, so after you can open it with text editor.

@ashubuddy89

This comment has been minimized.

Copy link

commented Jun 20, 2017

https://youtu.be/VNmueL1W8sw
hey try this one.

@mekaVR

This comment has been minimized.

Copy link

commented Jun 20, 2017

@ashubuddy89 yes it's work !!!!

@DanielRequejo

This comment has been minimized.

Copy link

commented Jun 21, 2017

It doesn't let me modify the .license file.
:\

@whytehousegroup

This comment has been minimized.

Copy link

commented Jun 21, 2017

can modify the license file but it keeps getting overridden on when I launch. Will try to erase all version of sketch and reinstall.

@whytehousegroup

This comment has been minimized.

Copy link

commented Jun 21, 2017

Where should these lines be added in the host file?

127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com

@lauredag

This comment has been minimized.

Copy link

commented Jul 4, 2017

I have the same problem. Can modify the license file but it keeps getting overriden on when i launch. Does anyone have a solution?

@ar-post

This comment has been minimized.

Copy link

commented Jul 6, 2017

+1 with @lauredag

@wolfPrateekSinghal

This comment has been minimized.

Copy link

commented Jul 6, 2017

+1 with @lauredag

@wolfPrateekSinghal

This comment has been minimized.

Copy link

commented Jul 6, 2017

.license file appears on relaunching Finder but it keeps getting overriden on app launch

@junolance

This comment has been minimized.

Copy link

commented Jul 8, 2017

can anyone help me? i can´t understand anything, maybe with images of the process, please or maybe speak spanish for helping me?

@u4596730

This comment has been minimized.

Copy link

commented Jul 10, 2017

I sell the license code at a great discount. Plz contact me if anyone needs it. my email is damon.szh@gmail.com

@guillaumeMu

This comment has been minimized.

Copy link

commented Jul 11, 2017

+1 with @lauredag

@aino-gautam

This comment has been minimized.

Copy link

commented Jul 13, 2017

seems like the party is over here.. 👎 doesn't work.. I tried multiple stuff license / licence and all of it. Bought a license :D :D simple

@black-lotus

This comment has been minimized.

Copy link

commented Jul 14, 2017

does work on version 4
.license file always replaced with the new one after open up Sketch App

@gch1p

This comment has been minimized.

Copy link

commented Jul 15, 2017

@aino-gautam the party is never over.

it actually is pretty simple to make the trial never end.
you just have to make Sketch think that the trial period has not ended yet. you can do that by spoofing the system time.

  1. disable SIP if you're on El Captain or newer;
  2. write a C program that implements gettimeofday(2) function and replaces the tv_sec and tv_usecfields of the timeval struct;
  3. compile it as a dynamic library (.dylib);
  4. insert it into the Sketch process by launching Sketch like this: DYLD_FORCE_FLAT_NAMESPACE=1 DYLD_INSERT_LIBRARIES=yourlibraryname.dylib /path/to/the/Sketch.app/Contents/MacOS/Sketch. done.
@dnsang

This comment has been minimized.

Copy link

commented Jul 20, 2017

Why so serious, just reinstall it and you have 30 days to use until you are able to purchase it.

@Jossnaz

This comment has been minimized.

Copy link

commented Jul 26, 2017

I read you can import the sketch crap into zeplin https://zeplin.io/ and it's free for one active project

@michelmelo

This comment has been minimized.

Copy link

commented Jul 28, 2017

@gch1p Can you send this compiled file?

@chichibong

This comment has been minimized.

Copy link

commented Jul 31, 2017

Seems like it's no longer working for me. The license file is rewritten every time when the app is launched. Here I found another method to get around this: http://couponhacks.org/use-sketch-without-license-key/

@brayanL

This comment has been minimized.

Copy link

commented Aug 8, 2017

Works Like a charm, thanks.....!

@Sahandrdl

This comment has been minimized.

Copy link

commented Aug 9, 2017

I couldn't edit "hosts" file, it said it's a locked file and you're not able to duplicate it. help me

@karlpatrickespiritu

This comment has been minimized.

Copy link

commented Aug 29, 2017

doesn't work on v46.

@imkikus

This comment has been minimized.

Copy link

commented Aug 29, 2017

Fake. Not working anymore for v46.2

@mrageh

This comment has been minimized.

Copy link

commented Sep 3, 2017

What you're doing here is not fair, the company that's developed Sketch need money to continue developing it. Just pay them

@JamesTheHacker

This comment has been minimized.

Copy link

commented Sep 5, 2017

@mrageh lots of things in life are not fair. Nobody cares.

@mcostales84

This comment has been minimized.

Copy link

commented Sep 6, 2017

Worked for me! I was also able to update it to the latest version!
Thank you dude!

@prudnikov

This comment has been minimized.

Copy link

commented Sep 11, 2017

@mrageh I am a developer and I pay for a lot of things I use every days or very often. But I use Sketch a couple times per month and then may not use it for another couple months. I don't want to pay $99 for that, it just doesn't make sense.

@jmvl

This comment has been minimized.

Copy link

commented Sep 11, 2017

pro users earning money because they design app should pay for sketch. it's not expensive and it's a tool they use daily to make a living.

@MaudFricht

This comment has been minimized.

Copy link

commented Sep 11, 2017

Hello,
Thanks for the tip! Unfortunately i can't find the .license because /com.bohemiancoding.sketch3 doesn't exist on my computer
Can you help me?
Thanks a lot !

@nferocious76

This comment has been minimized.

Copy link

commented Oct 7, 2017

does not work any more as of today...

@Sorin-Gheorghita

This comment has been minimized.

Copy link

commented Oct 7, 2017

Here is how you edit hosts: https://www.youtube.com/watch?v=Tw55UBv79X8
It works just fine. Thank you!

@kh71

This comment has been minimized.

Copy link

commented Oct 14, 2017

not work on sketch app 47

@Sorin-Gheorghita

This comment has been minimized.

Copy link

commented Oct 18, 2017

Not working anymore :( version 46.2 .. do not update!!!

@shezvar

This comment has been minimized.

Copy link

commented Oct 29, 2017

Its just $99 or so guys. Would you like to build a software in sweat and pain and put it on the market for sale only for your to friend to tell you he has someone who hacks it for people and they use it without paying a dime

@ayinlaaji

This comment has been minimized.

Copy link

commented Nov 8, 2017

Guys just pay if you can afford it c'mon :)

@PabloHenri91

This comment has been minimized.

Copy link

commented Nov 23, 2017

Only works till version 39.1
https://download.sketchapp.com/sketch-39.1.zip

@ekodikara

This comment has been minimized.

Copy link

commented Jan 11, 2018

working for 48.2 with highSierra

@Zuiut

This comment has been minimized.

Copy link

commented Jan 12, 2018

@Elshan , is it a question or a confirmation ? did not work for me on highSierra with 48.2.

@gdelacc

This comment has been minimized.

Copy link

commented Jan 23, 2018

Any update?

@smartworld-dm

This comment has been minimized.

Copy link

commented Jan 31, 2018

Hey Guys,
My sketch version is 48.1, macOS version is macOS sierra.
I can hardly open my sketch file, but after a while 'can't verify license' alert appears.
Please rename 'licence' as 'license', status/'nok' -> 'ok'

So far, I recommend you this, by using this, anyhow you could use the sketch freely.
https://www.youtube.com/watch?v=lqUpvkpiSDI

@MrOpperman

This comment has been minimized.

Copy link

commented Feb 8, 2018

This is what I did to get it to work (seems to work with all versions)

Mac only

  1. Install (move to applications) and crack version 39.1 (https://download.sketchapp.com/sketch-39.1.zip)
  2. Run that version to ensure that its correctly working
  3. Download any version you want
  4. Do not install it, but rather extract it and run it from your downloads (you can move it around, but dont move it to Applications)
@rfoel

This comment has been minimized.

Copy link

commented Feb 9, 2018

@iPoriel

This comment has been minimized.

Copy link

commented Feb 11, 2018

I have a solution for the last version : just change de date of your Mac. As simple as that. (Set it to the first day of the trial for example).
Works like a charm ! (After the oppening of Sketck, your can change the date again to not perturb your mail/message/calendar apps)

@kakada-khan

This comment has been minimized.

Copy link

commented Feb 20, 2018

Note working for me. I have update the .license file but once I open the application the file is reset. Any solutions?

@smzranz

This comment has been minimized.

Copy link

commented Feb 21, 2018

@Gb4de

This comment has been minimized.

Copy link

commented Feb 28, 2018

This is awesome and works like a dream! thanks!

@NahuelCastellani

This comment has been minimized.

Copy link

commented Mar 12, 2018

Hi guys, I tried to do it, and my question is: is it normal that it still show me that I have 30 days of trial? or it should to disappear?

@NahuelCastellani

This comment has been minimized.

Copy link

commented Mar 12, 2018

Hey @Gb4de , does it still shows you the 30 days of trial or it shows anything? Think that my problem is int the .licence file. Someone could help me?

@hsashankar

This comment has been minimized.

Copy link

commented Mar 16, 2018

It had worked on my old version. I reinstalled OS and updated to latest OSX to only find that ver 49 is uncrackable with this

@ilanah

This comment has been minimized.

Copy link

commented Mar 24, 2018

in order to edit the hosts files, use sudo nano /etc/hosts

@zsolemolina

This comment has been minimized.

Copy link

commented Mar 28, 2018

Hi folks! I've an issue.. When I try to edit the license, appears as a new file... it's possible? I'm trying with sudo nano etc etc etc.. Some ideas what 's happening? btw, I'm working with Sierra OS with vmWare in Windows 10
I just modified the hosts file, but I'm wondering if this is enough or need to make the edition in license file anyway? Thanks!!

@bradwalls

This comment has been minimized.

Copy link

commented Apr 16, 2018

I just tried this method on newest version and doesn't work. I am having to manually change the date on the OS before opening. Anyone have a better solution?

@JS-Root

This comment has been minimized.

Copy link

commented Apr 26, 2018

Hi everybody! Same issue here: just like @bradwalls I tried this method but it doesn't work on the new version, any solution? Thanks!

@Eng-MFQ

This comment has been minimized.

Copy link

commented Apr 28, 2018

it worked Thnx

@Uranbold

This comment has been minimized.

Copy link

commented May 3, 2018

@Eng-MFQ how? After edited hosts do i need to restart? License file is actually overwritten...

@cristhoz

This comment has been minimized.

Copy link

commented May 12, 2018

@molcik Thanks!

@brunocascio

This comment has been minimized.

Copy link

commented May 12, 2018

Create sketch.sh file with the following content:

#!/bin/bash

date 0102030405

open /Applications/Sketch.app

ntpdate -u time.apple.com

After that, you need to run the script as sudo: sudo sketch.sh

That's all.

@rahulvramesh

This comment has been minimized.

Copy link

commented May 20, 2018

@brunocascio works like charm! thanks!

@MichaelTSS

This comment has been minimized.

Copy link

commented May 21, 2018

@brunocascio thanks! Although I had to do sudo sh sketch.sh

@valmack

This comment has been minimized.

Copy link

commented May 22, 2018

@brunocascio

I think yours is the best hack. Quickest and easiest. Thank you!

Mine worked after

$ chmod +x /path/to/file/sketch.sh

$ /path/to/file/sketch.sh

@oleghnidets

This comment has been minimized.

Copy link

commented May 27, 2018

@brunocascio Thanks!

@codepotato

This comment has been minimized.

Copy link

commented May 29, 2018

Wow, so you're all pirating software? Just pay for a flipping licence!

@alfredomp

This comment has been minimized.

Copy link

commented May 31, 2018

I moved to Adobe Xd, it's free!
https://www.adobe.com/products/xd.html

@aleaallee

This comment has been minimized.

Copy link

commented Jun 6, 2018

codepotato, no one wants to pay for a licence you have to renew each year.

@ikbennadine

This comment has been minimized.

Copy link

commented Jun 8, 2018

For me did changing a fourth value the trick: "update_expiration". Now it's even working with the latest update.

"sign":"=="
"type”:”licence”
"expiration”:”999999999”
"update_expiration": 999999999,"
@gsouvik

This comment has been minimized.

Copy link

commented Jun 8, 2018

It doesn't work even after adding
"update_expiration": "999999999"
Still asking for key, any other solutions?

@gsouvik

This comment has been minimized.

Copy link

commented Jun 8, 2018

The hack which worked for me was the time reset hack. I changed time manually to something before to when I installed Sketch, opened Sketch again and it works now, while Sketch running reset time to present.

@asktosimon

This comment has been minimized.

Copy link

commented Jun 8, 2018

don't work

@shobhitchittora

This comment has been minimized.

Copy link

commented Jun 28, 2018

Not working for with the latest (50.2).

@batuhangundogdu

This comment has been minimized.

Copy link

commented Jun 28, 2018

Working, very stable.

@muhaimincs

This comment has been minimized.

Copy link

commented Jul 6, 2018

lie

@slyfalcon

This comment has been minimized.

Copy link

commented Jul 7, 2018

Thanks guys, the sh file works.

@abranhe

This comment has been minimized.

Copy link

commented Jul 9, 2018

Doesn't work for Sketch 50.2 version. The edits in the files are not being saved apparently.

Img

@afuggini

This comment has been minimized.

Copy link

commented Jul 20, 2018

@molcik can you share the source?

@zzAutumn

This comment has been minimized.

Copy link

commented Jul 22, 2018

@ brunocascio
thank ~~ it works~~ sudo sh sketch.sh

@gurisitchinava

This comment has been minimized.

Copy link

commented Jul 26, 2018

For me worked this one
Create sketch.sh file with the following content:

#!/bin/bash

date 0102030405

open /Applications/Sketch.app

ntpdate -u time.apple.com
After that, you need to run the script as sudo: sudo sh sketch.sh

That's all.

Thanks @brunocascio

@prod1992

This comment has been minimized.

Copy link

commented Jul 27, 2018

Thanks everyone! That works

@huhhuhhuh

This comment has been minimized.

Copy link

commented Jul 27, 2018

@Gmansory
Hello, Where I have to put 'sketch.sh' ?? Mine isn't working... Terminal said "sudo: sketch.sh: command not found"

@nttuyen

This comment has been minimized.

Copy link

commented Jul 28, 2018

Doesn't work for version 51.1. It will revert the .licence file after reopen the sketch app.

@kristoft

This comment has been minimized.

Copy link

commented Jul 30, 2018

@developheo
Put this file in you home directory and before running the file, use following command:
sudo chmod +x sketch.sh - this command will make your file executable
and then
sudo ./sketch.sh

@toasty1435

This comment has been minimized.

Copy link

commented Jul 31, 2018

@kristoft

does this work with versions 50 and beyond?
Also which home directory are you referencing?

edit:
ok think I figured this out, added to the sketch folder within application support and followed the above mentioned steps by @kristoft.

Upon entering the last command sketch opens and terminal displays the following:
Sun Jan 2 03:04:00 EST 2005
30 Jul 22:36:02 ntpdate[24735]: step time server 17.253.14.125 offset 428351515.292011 sec

However Sketch still says 28 days left on trial..is this correct?

@huhhuhhuh

This comment has been minimized.

Copy link

commented Aug 2, 2018

@kristoft

Thank you. It is doing well!!

(I'm Version is 50.2)

@jungIefever

This comment has been minimized.

Copy link

commented Aug 3, 2018

@brunocascio That script is amazing. Thank you.

@molcik

This comment has been minimized.

Copy link

commented Aug 6, 2018

I have solved it with changing the system time every time I start the app. I have created Launcher in Automator so I don't have to do it manually. Here is tutorial and download

@jbarros35

This comment has been minimized.

Copy link

commented Aug 8, 2018

Sun Jan 2 03:04:00 WET 2005
The file /Applications/Sketch.app does not exist.
8 Aug 10:01:38 ntpdate[83223]: step time server 17.253.34.253 offset 429083852.117617 sec

Doesn't works anymore, version 51.2

@shaltai

This comment has been minimized.

Copy link

commented Aug 21, 2018

@alabamad Why you can't post it here?

@pablickr

This comment has been minimized.

Copy link

commented Aug 21, 2018

@brunocascio

Nice solution!! execute adding an old date, it'd work for other programs with trial.

@justinhartman

This comment has been minimized.

Copy link

commented Aug 26, 2018

Agree with @shaltai, why can't you just help these poor people out and post the solution @alabamad?

@matr1xp

This comment has been minimized.

Copy link

commented Aug 29, 2018

Just change your system date to the past then open Sketch. You can then change the date back afterwards.
Worked with my Sketch v51.2!

@exedemaio

This comment has been minimized.

Copy link

commented Aug 30, 2018

@matr1xprogrammer When I return to the correct date, the number of days is changed again. Do you know why that can happen?

@sharukhmohammed

This comment has been minimized.

Copy link

commented Aug 31, 2018

Another poor dog waiting for a hack.

@azkalonia

This comment has been minimized.

Copy link

commented Aug 31, 2018

@Julienblc thank you

@mog3n

This comment has been minimized.

Copy link

commented Sep 1, 2018

Thanks @Julienblc works well! Can't justify paying $100 as a university student while using it as a hobby. Also, sudo ntpdate does not seem to be a command on macOS Mohave 10.14 Beta (18A377a) sudo: ntpdate: command not found

@jalasem

This comment has been minimized.

Copy link

commented Sep 1, 2018

Programmers, Companies put a lot into building awesome applications. They keep pushing fixes and patches and pay salaries to those who make it happen. Everyone wanna make profit. Imagine that guy you wanna draw for right now that warrants you to hack sketch or in the nearest future decide to find a cunning way not to get you paid for one reason or the other.

It's just $99!
Pay them. Buy it. May your business prosper as well

@joeldeleep

This comment has been minimized.

Copy link

commented Sep 4, 2018

@mog3n can you please provide the steps ?

@AlexeySemigradsky

This comment has been minimized.

Copy link

commented Sep 9, 2018

I wrote an AppleScript to run the Sketch that can be compiled into an Application.
The script also should work on the macOS Mojave.

https://github.com/AlexeySemigradsky/SketchRunner
https://github.com/AlexeySemigradsky/SketchRunner/releases

screen shot 2018-09-10 at 11 14 52

@faizalheesyam

This comment has been minimized.

Copy link

commented Sep 21, 2018

I wrote an AppleScript to run the Sketch that can be compiled into an Application.
The script also should work on the macOS Mojave.

https://github.com/AlexeySemigradsky/SketchRunner
https://github.com/AlexeySemigradsky/SketchRunner/releases

finally someone help to automate it.. thanks man!

@geekfred

This comment has been minimized.

Copy link

commented Sep 25, 2018

I wrote an AppleScript to run the Sketch that can be compiled into an Application.
The script also should work on the macOS Mojave.

https://github.com/AlexeySemigradsky/SketchRunner
https://github.com/AlexeySemigradsky/SketchRunner/releases

screen shot 2018-09-10 at 11 14 52

No, it should not, as ntpd has been removed from Mojave.

@ashtonlance

This comment has been minimized.

Copy link

commented Oct 3, 2018

@geekfred I'm using this on mojave without any issues.

@aris9ian

This comment has been minimized.

Copy link

commented Oct 5, 2018

sntp -sS time.apple.com

is the solution for those who are getting 'command not found' when using the ntpdate command.
Source: https://stackoverflow.com/questions/52548093/ntpdate-command-not-found-macos-mojave

@rfaridmutiardi

This comment has been minimized.

Copy link

commented Oct 9, 2018

I wrote an AppleScript to run the Sketch that can be compiled into an Application.
The script also should work on the macOS Mojave.

https://github.com/AlexeySemigradsky/SketchRunner
https://github.com/AlexeySemigradsky/SketchRunner/releases

screen shot 2018-09-10 at 11 14 52

thanks man, it works on latest update

@nicubarbaros

This comment has been minimized.

Copy link

commented Oct 15, 2018

Macos Mojave, sketch v52. Does not work. Still requires a key.

@tiagodrigs

This comment has been minimized.

Copy link

commented Oct 17, 2018

I wrote an AppleScript to run the Sketch that can be compiled into an Application.
The script also should work on the macOS Mojave.

https://github.com/AlexeySemigradsky/SketchRunner
https://github.com/AlexeySemigradsky/SketchRunner/releases

screen shot 2018-09-10 at 11 14 52

Thanks mate! Working perfectly with v52.2 =)

Is there a way to avoid authentication every time you run it?
screenshot 2018-10-17 at 2 43 54 pm

@nathfreder

This comment has been minimized.

Copy link

commented Oct 22, 2018

2018-10-22 07-56-23 2018-10-22 07_58_58
Sketch Runner is the best solution so far that I've seen.

@nathfreder

This comment has been minimized.

Copy link

commented Oct 22, 2018

@tiagodrigs This would create some major security holes in your system, I would not recommend it.

@solancer

This comment has been minimized.

Copy link

commented Oct 23, 2018

A simple bash script will do the trick

#!/bin/bash

date 0102030405

open /Applications/Sketch.app

ntpdate -u time.apple.com

@solancer

This comment has been minimized.

Copy link

commented Oct 23, 2018

screen shot 2018-10-23 at 4 19 21 pm

@daguilarg

This comment has been minimized.

Copy link

commented Oct 28, 2018

The script bash metod works fine. In Mojave the ntpdate command it's deprecated. Use sntp instead.
In some cases, the time change need more time. Add with 'sleep' at least 1 second.

#!/bin/bash

date 0102030405
open /Applications/Sketch.app
sleep 1
sntp -sS time.apple.com

@joshmillgate

This comment has been minimized.

Copy link

commented Oct 30, 2018

The script bash metod works fine. In Mojave the ntpdate command it's deprecated. Use sntp instead.
In some cases, the time change need more time. Add with 'sleep' at least 1 second.

#!/bin/bash

date 0102030405
open /Applications/Sketch.app
sleep 1
sntp -sS time.apple.com

This method is working for v52.2 mojave. Automate using an automator apple script with:

do shell script "#!/bin/bash" with administrator privileges
do shell script "date 0102030405" with administrator privileges
do shell script "open /Applications/Sketch.app" with administrator privileges
do shell script "sleep 1" with administrator privileges
do shell script "sntp -sS time.apple.com" with administrator privileges

@andriilive

This comment has been minimized.

Copy link

commented Oct 30, 2018

Or u can just uninstall sketch and install it again.
Just updated my v50.0 trial expired to working v52.2 in that way

  1. Open Finder Go > Go To Folder
    ~/Library
  2. Open Application Support
  3. Delete com.bohemiancoding.sketch3 folder
  4. Search Application Support for "Sketch" if u still have some config files and delete them. be careful here
  5. Delete the app
  6. optional edit your host files. I don't know if you really have to but i did

You are done install the new version

YouTube How to
https://www.youtube.com/watch?v=6t5gQ7bBkEQ

@ilight

This comment has been minimized.

Copy link

commented Oct 31, 2018

For me worked this one
Create sketch.sh file with the following content:

#!/bin/bash

date 0102030405

open /Applications/Sketch.app

ntpdate -u time.apple.com
After that, you need to run the script as sudo: sudo sh sketch.sh

That's all.

Thanks @brunocascio

This worked for me. Thank you

@lucasomigli

This comment has been minimized.

Copy link

commented Nov 2, 2018

@brunocascio thanks a lot for the easy solution! Works for me by doing sudo sh sketch.sh

@sarangkartikey50

This comment has been minimized.

Copy link

commented Nov 12, 2018

@brunocascio thanks! Although I had to do sudo sh sketch.sh

This works for me! Thanks.

@cleocadio

This comment has been minimized.

Copy link

commented Nov 17, 2018

Tried 2 different scripts

ntpdate -u time.apple.com
and
sntp -sS time.apple.com

Sun Jan 2 03:04:00 WET 2005 sntp 4.2.8p10@1.3728-o Tue Mar 21 14:36:42 UTC 2017 (136.200.1~2533) kod_init_kod_db(): Cannot open KoD db file /var/db/ntp-kod: No such file or directory 2005-01-02 03:04:02.028304 (+0000) +437795399.763244 +/- 291863599.843276 time.apple.com 17.253.34.253 s1 no-leap Celias-MBP:Desktop celialeocadio$ sudo sh sketch.sh Sun Jan 2 03:04:00 WET 2005 sketch.sh: line 6: ntpdate: command not found Celias-MBP:Desktop celialeocadio$

Clock changed, but still 5 days left of trial

@Darshan-221B

This comment has been minimized.

Copy link

commented Nov 21, 2018

I wrote an AppleScript to run the Sketch that can be compiled into an Application.
The script also should work on the macOS Mojave.

https://github.com/AlexeySemigradsky/SketchRunner
https://github.com/AlexeySemigradsky/SketchRunner/releases

screen shot 2018-09-10 at 11 14 52

This is great bro... Love it... works 100%
and no effort needed, Thanks

@ayozebarrera

This comment has been minimized.

Copy link

commented Nov 22, 2018

/Users/YOUR-USER-HERE/Libraría/Application\ Support/com.bohemiancoding.sketch3/.license

In spanish is Librería and not Libraría

@sergiossm

This comment has been minimized.

Copy link

commented Nov 23, 2018

I wrote an AppleScript to run the Sketch that can be compiled into an Application.
The script also should work on the macOS Mojave.

https://github.com/AlexeySemigradsky/SketchRunner
https://github.com/AlexeySemigradsky/SketchRunner/releases

screen shot 2018-09-10 at 11 14 52

Awesome!

@lawloretienne

This comment has been minimized.

Copy link

commented Nov 30, 2018

Thanks @brunocascio your solution worked for me.

@unisone

This comment has been minimized.

Copy link

commented Dec 8, 2018

I wrote an AppleScript to run the Sketch that can be compiled into an Application.
The script also should work on the macOS Mojave.

https://github.com/AlexeySemigradsky/SketchRunner
https://github.com/AlexeySemigradsky/SketchRunner/releases

It worked! Thank you.

@Aarbel

This comment has been minimized.

Copy link

commented Dec 12, 2018

I wrote an AppleScript to run the Sketch that can be compiled into an Application.
The script also should work on the macOS Mojave.

github.com/AlexeySemigradsky/SketchRunner
github.com/AlexeySemigradsky/SketchRunner/releases

It worked! Thank you.

Worked too, awesome !

@gch1p

This comment has been minimized.

Copy link

commented Dec 16, 2018

  1. csrutil disable

  2. libsketchhack.c:

#include <stdio.h>
#include <unistd.h>
#include <dlfcn.h>
#include <stdlib.h>
#include <sys/time.h>

static long offset = 0;
static int offset_days;
static char *env_days;

int (*orig_gettimeofday) (struct timeval *restrict tp, void *restrict tzp) = NULL;

int gettimeofday(struct timeval *restrict tp, void *restrict tzp) {
    if (!orig_gettimeofday) {
        env_days = getenv("SKETCH_DAYS_OFFSET");
        if (env_days != NULL) {
            offset_days = atoi(env_days);
            offset = offset_days * 86400;
            //printf("env_days: %s, offset_days: %d\n", env_days, offset_days);
        } else {
            fprintf(stderr, "warning: no SKETCH_DAYS_OFFSET env variable found\n");
        }
        orig_gettimeofday = dlsym(RTLD_NEXT, "gettimeofday");
    }

    int result = orig_gettimeofday(tp, tzp);
    if (result == 0) {
        tp->tv_sec += offset;
        tp->tv_usec += offset * 1000000;
    }

    return result;
}
  1. compile:
    gcc -dynamiclib libsketchhack.c -o libsketchhack.dylib

  2. run:
    DYLD_FORCE_FLAT_NAMESPACE=1 DYLD_INSERT_LIBRARIES=./libsketchhack.dylib SKETCH_DAYS_OFFSET=-100 /Applications/Sketch.app/Contents/MacOS/Sketch

@littlenomads

This comment has been minimized.

Copy link

commented Dec 17, 2018

Thanks, @brunocascio your solution worked for me as well!

@jonathangaldino

This comment has been minimized.

Copy link

commented Dec 27, 2018

Working on version 52.5?

@eriamalvarez

This comment has been minimized.

Copy link

commented Dec 28, 2018

It Doesn't work in Mojave, but i found another solution whit an Applescript:
https://github.com/AlexeySemigradsky/SketchRunner
https://github.com/AlexeySemigradsky/SketchRunner/releases

@sohomang

This comment has been minimized.

Copy link

commented Dec 29, 2018

Tried 3 methods from respectively @eriamalvarez, @andriilive and @brunocascio, none worked.
Mojave 10.14, Sketch 52.5

@gch1p

This comment has been minimized.

Copy link

commented Dec 29, 2018

@pshah123

This comment has been minimized.

Copy link

commented Jan 1, 2019

https://github.com/gch1p/sketchtrial

God's Plan starts playing in the background

I don't have SIP enabled but the solution proposed by @gch1p still works for me, perfectly.

Confirmed working on Sketch 52.5, MacOS Mojave 10.14.2.

@SamuelRioTz

This comment has been minimized.

Copy link

commented Jan 7, 2019

@eriamalvarez it works for me, with on Sketch 52.5, MacOS Mojave 10.14.2. but only with the release https://github.com/AlexeySemigradsky/SketchRunner/releases
thanks

@FivePixels

This comment has been minimized.

Copy link

commented Jan 10, 2019

Would this sort of thing be possible with Framer X?
asking for a friend

@suleymanekici0

This comment has been minimized.

Copy link

commented Jan 17, 2019

🥇 2019 Hack Developer Süleyman Ekici This Video : https://www.youtube.com/watch?v=c7XQ7qYIRJM 💯

@szatti1489

This comment has been minimized.

Copy link

commented Jan 29, 2019

To display hidden files simply press Command+shift+dot (cmd+shift+.),
and all hidden files and folders will reveals

@bugrym

This comment has been minimized.

Copy link

commented Feb 27, 2019

@AlexeySemigradsky my god, that's best solution ever, thank you so much ^___^ От души мужик!))

@ThaiRodrigues7

This comment has been minimized.

Copy link

commented Mar 2, 2019

That is something really clever and easy to do. Thank u very much for the tip bro!

@lucasomigli

This comment has been minimized.

Copy link

commented Mar 11, 2019

https://github.com/AlexeySemigradsky/SketchRunner

That is a a killer. Thanks for automating! +100

@almumunoz

This comment has been minimized.

Copy link

commented Mar 15, 2019

Thanks a lot! Worked fine on Mojave 10.4.3, sketch 53.2

Hi!
What of . all of those worked for you?

@gch1p

This comment has been minimized.

Copy link

commented Mar 31, 2019

I updated https://github.com/gch1p/sketchtrial to work with 53.2

@superduong

This comment has been minimized.

Copy link

commented Apr 4, 2019

Create sketch.sh file with the following content:

#!/bin/bash

date 0102030405

open /Applications/Sketch.app

ntpdate -u time.apple.com

After that, you need to run the script as sudo: sudo sketch.sh

That's all.

Thanks so much! It works fine!

@php4518

This comment has been minimized.

Copy link

commented Apr 5, 2019

Simple trick:

you can just change your device timing from system preferences to past date.
open sketch.
set device time to normal.
use sketch.

just fooling the .license file will do the trick.

@juanfoncuberta

This comment has been minimized.

Copy link

commented Apr 12, 2019

Thanks @php4518! Easy and good solution

@mtonet

This comment has been minimized.

Copy link

commented Apr 18, 2019

Works !

https://youtu.be/VNmueL1W8sw
hey try this one.

@iShaymus

This comment has been minimized.

Copy link

commented Apr 20, 2019

The following works with Mojave. Create a sketch.sh script with the following:

#!/bin/bash

date 0102030405
open /Applications/Sketch.app
sleep 10s
sntp -sS time.apple.com

Execute the script with sudo sh sketch.sh

@MaxZwarenstein

This comment has been minimized.

Copy link

commented May 13, 2019

The following works with Mojave. Create a sketch.sh script with the following:

#!/bin/bash

date 0102030405
open /Applications/Sketch.app
sleep 10s
sntp -sS time.apple.com

Execute the script with sudo sh sketch.sh

Which directory do I execute this in? Also, should I have sketch closed? I can't get this to work, thanks!

@MaxZwarenstein

This comment has been minimized.

Copy link

commented May 13, 2019

Tried 2 different scripts

ntpdate -u time.apple.com
and
sntp -sS time.apple.com

Sun Jan 2 03:04:00 WET 2005 sntp 4.2.8p10@1.3728-o Tue Mar 21 14:36:42 UTC 2017 (136.200.1~2533) kod_init_kod_db(): Cannot open KoD db file /var/db/ntp-kod: No such file or directory 2005-01-02 03:04:02.028304 (+0000) +437795399.763244 +/- 291863599.843276 time.apple.com 17.253.34.253 s1 no-leap Celias-MBP:Desktop celialeocadio$ sudo sh sketch.sh Sun Jan 2 03:04:00 WET 2005 sketch.sh: line 6: ntpdate: command not found Celias-MBP:Desktop celialeocadio$

Clock changed, but still 5 days left of trial

Same, did you find a solution?

@tankvijay

This comment has been minimized.

Copy link

commented May 16, 2019

anyone having licence key of sketch 54.1 version?

@CullenSharp2

This comment has been minimized.

Copy link

commented May 18, 2019

anyone having licence key of sketch 54.1 version?

Looking for this too

@tankvijay

This comment has been minimized.

Copy link

commented May 18, 2019

anyone having licence key of sketch 54.1 version?

Looking for this too

Try hard to find out and share over here

@sohsatoh

This comment has been minimized.

Copy link

commented May 19, 2019

I think
always true in
・-[BCRegularLicense isValid]
always false in
・-[BCRegularLicense isExpired]

and
return 999 days (or days what you want to change)
・-[BCLicenseManager numberOfDaysLeftInTrialMode]
makes the unlimited trial.

I don't know whether it works or not, but I released the plugin.
https://github.com/sohsatoh/HackSketch/

@CullenSharp2

This comment has been minimized.

Copy link

commented May 19, 2019

I think
always true in
・-[BCRegularLicense isValid]
always false in
・-[BCRegularLicense isExpired]

and
return 999 days (or days what you want to change)
・-[BCLicenseManager numberOfDaysLeftInTrialMode]
makes the unlimited trial.

I don't know whether it works or not, but I released the plugin.
https://github.com/sohsatoh/HackSketch/

Are you doing this in terminal? Got .license to open in text edit but I cant find 'BCRgularLicense' and etc. Looking for a friend.

@arishanapalli

This comment has been minimized.

Copy link

commented Jun 18, 2019

~/'Library/Application Support/'com.bohemiancoding.sketch3/.license

I can not see .license file in it! even after run
defaults write com.apple.finder AppleShowAllFiles YES

Can you suggest what went wrong here?

previously I used to change the date so its allows the me to use the application for time period.

@sohsatoh

This comment has been minimized.

Copy link

commented Jun 19, 2019

I think
always true in
・-[BCRegularLicense isValid]
always false in
・-[BCRegularLicense isExpired]
and
return 999 days (or days what you want to change)
・-[BCLicenseManager numberOfDaysLeftInTrialMode]
makes the unlimited trial.
I don't know whether it works or not, but I released the plugin.
https://github.com/sohsatoh/HackSketch/

Are you doing this in terminal? Got .license to open in text edit but I cant find 'BCRgularLicense' and etc. Looking for a friend.

Just go to the link and read the description.
I just confirmed it works on my mac.

@GoMino

This comment has been minimized.

Copy link

commented Jun 20, 2019

@gch1p and @sohsatoh thanks it works

@laohanme

This comment has been minimized.

Copy link

commented Jun 26, 2019

Does any solution for 55.2

@gch1p

This comment has been minimized.

@tclain

This comment has been minimized.

Copy link

commented Jun 29, 2019

what did work for me (sketch 55>)

  • login as root: sudo su -
  • cd /Users/{YOUR_USERNAME}/Library/Application Support
  • rm -rf com.bohemiancoding.sketch*
  • remove the sketch app
  • redownload the trial
@jaimbox

This comment has been minimized.

Copy link

commented Jun 30, 2019

@wildfang

This comment has been minimized.

Copy link

commented Jul 16, 2019

Really cool, thank you @gch1p

@laohanme

This comment has been minimized.

Copy link

commented Jul 17, 2019

@gch1p @jaimbox you guys are awesome!!

@tankvijay

This comment has been minimized.

Copy link

commented Jul 18, 2019

@jaimbox

This comment has been minimized.

Copy link

commented Jul 18, 2019

Hello Guys, need help guys, I am new with mac os, and i want to crack sketch latest version. I tried to follow steps but as its new for me to find the files. Can somebody send screen by screen shot would be a great help or step with details info. I know this is not something expecting and tedious job as well... but I am UIUX designer and stuck with sketch os, help me guys if you can. Thank you.

On Wed, Jul 17, 2019 at 7:47 AM LaoHan @.***> wrote: @gch1p https://github.com/gch1p @jaimbox https://github.com/jaimbox you guys are awesome!! — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://gist.github.com/76c581d7ac03bdce6d226a2e8c522df4?email_source=notifications&email_token=AMBSNFKBIXRU5IFTYIO4XTDP7Z6L3A5CNFSM4HHAG5R2YY3PNVWWK3TUL52HS4DFVNDWS43UINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAFVNPI#gistcomment-2972404, or mute the thread https://github.com/notifications/unsubscribe-auth/AMBSNFPW63DWZ4RGZQXCD5DP7Z6L3ANCNFSM4HHAG5RQ .
-- Warm Regards, Vijay Tank Skype: tankvijay Cell: +919879150407 Linkedin: https://www.linkedin.com/in/vijay-tank-8a98857 About Me: https://about.me/vijaytank Ahmedabad, Gujarat-380058, India *THINK BEFORE YOU INK,**Please print emails only IF NECESSARY. SAVE papers, SAVE trees *[image: ]

git clone https://github.com/gch1p/sketchtrial
cd sketchtrial
make

Launching Sketch
You can use sketch.sh

Execute this in the Terminal
cd ......../Sketch/source
gcc -dynamiclib -framework AppKit -framework Foundation sketchtrial.m -o hacksketch.dylib
export DYLD_INSERT_LIBRARIES=./hacksketch.dylib
/Applications/Sketch.app/Contents/MacOS/Sketch

@tankvijay

This comment has been minimized.

Copy link

commented Jul 18, 2019

@Dnenroot

This comment has been minimized.

Copy link

commented Jul 18, 2019

Hi Guys, Just like the guy above me, I have limited knowledge about this whole thing.
So I open the terminal and then what?
Paste: "cd ......../Sketch/source
gcc -dynamiclib -framework AppKit -framework Foundation sketchtrial.m -o hacksketch.dylib
export DYLD_INSERT_LIBRARIES=./hacksketch.dylib
/Applications/Sketch.app/Contents/MacOS/Sketch" ?

Please help me out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.