Skip to content

Instantly share code, notes, and snippets.

@seonar22
Forked from rampfox/TNT’s certificate.md
Created March 1, 2024 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seonar22/c56809cb077362bfd5b8213350ef0f7e to your computer and use it in GitHub Desktop.
Save seonar22/c56809cb077362bfd5b8213350ef0f7e to your computer and use it in GitHub Desktop.
If Crashes when opening Mac Cracked Apps

Apple removed TNT’s certificate, so the app will crash after July 12th. The current solution is to sign it yourself.

Run in Terminal

codesign --force --deep --sign - /Applications/name.app

if Permission denied don't forget to add sudo

example:

sudo codesign --force --deep --sign - /Applications/1Password\ 7.app


Requisite: Xcode or the Apple Command Line Tools

To install, execute

xcode-select --install

@seonar22
Copy link
Author

seonar22 commented Mar 1, 2024

I have the same problem running apps like cleamMyMac or Loopback...

This is what I already tested AND THAT DOESN'T WORK

I'm not a developer, only a geek that uses Mac lol

GIVE EXTREME PERMISSIONS

sudo chmod -R 755 / path / to / app.

sudo xattr -dr com.apple.quarantine / path / to / app.

sudo chmod -R 755

sudo xattr -dr com.apple.quarantine

—————

Apparently you are not the only ones experiencing this problem and it does not refer to the M1 processor which could cause incompatibility but rather it may be an absence of valid certificates when the application was compiled.
You can try both to do as a terminal a:

sudo xattr -d com.apple.quarantine /Applications/software.app

Or even this solution seems to have worked for some:

codesign --force --deep --sign - /Applications/software.app

If it still does not work, the last alternative is to install upx and run:

brew install upx
sudo upx -d /Applications/software.app/Contents/MacOS/software

Install anything on Mac:

sudo spctl --master-disable

To reactivate:

sudo spctl --master-enable

GIVE PERMITS:

defaults write com.apple.LaunchServices LSQuarantine -bool NO

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