JiFu's Wiki JiFu's Wiki
首页
  • HTML
  • JavaScript
  • NodeJS
  • Vuejs
  • 微信小程序
  • Python
  • 数据库
  • 中间件
  • 算法
  • 软件工程
  • Wordpress
  • iOS开发
  • Android开发
  • Linux
  • Windows
  • MacOS
  • Docker
  • Vim
  • VSCode
  • Office
  • 其他
  • Photoshop
  • Sketch
  • Mac
  • 游戏
关于
  • 分类
  • 标签
  • 归档
GitHub (opens new window)
首页
  • HTML
  • JavaScript
  • NodeJS
  • Vuejs
  • 微信小程序
  • Python
  • 数据库
  • 中间件
  • 算法
  • 软件工程
  • Wordpress
  • iOS开发
  • Android开发
  • Linux
  • Windows
  • MacOS
  • Docker
  • Vim
  • VSCode
  • Office
  • 其他
  • Photoshop
  • Sketch
  • Mac
  • 游戏
关于
  • 分类
  • 标签
  • 归档
GitHub (opens new window)
  • DevOps介绍
  • Linux

  • MacOS

    • MacOS介绍
    • MacOS 如何提高 PDF 的对比度?
    • Charles从入门到精通
    • Compiling PyQt5 for Python 2.7 on MacOS
    • Homebrew让你从Mac切换到Linux更轻松
    • Mac OS X设置SMB进行文件共享
    • Mac OS系统加速:干掉那些「炫酷」的动画
    • Mac 时间机器 Time Machine 备份速度太慢的解决方法 (加速备份命令)
    • macOS 下 FFmpeg 视频转码入门及进阶使用心得
    • Mac定时任务-利用launchctl定时启动任务
    • Mac的最大连接数限制和端口的相关参数的设置
    • Mac重置系统管理控制器SMC
    • Mac高效使用技巧
    • MacOS一个惊人快速的终端录像工具
    • 一览Mac OS 图形界面的发展史
    • 修复Mac破解应用开打时闪退
    • 在M1芯片Mac上使用Homebrew
    • 如何查看 macOS 系统日志
    • 如何重置Mac上的NVRAM
    • 强制退出Mac程序的六种方法
    • 苹果 Mac 重置 SMC、NVRAM、PRAM 方法教程 - 解决 macOS 卡顿或无法启动
    • 苹果M1芯片Macbook安装win10
    • 解决“Mac应用”已损坏,无法打开的问题
    • 解决Mac修改DNS卡死-命令行修改Mac OS系统DNS设置
    • MacOS Photoshop屏蔽正版验证
    • 26.Karabiner自定义组合快捷键
    • MacOS软件推荐
    • Disable notification "to get future google chrome updates you'll need macos 10.13 or later" on mac
  • Windows

  • Docker

  • Vim

  • VSCode

  • Office

  • 其他

  • 运维
  • MacOS
JiFu
2023-10-18

修复Mac破解应用开打时闪退

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
1

Requisite: Xcode or the Apple Command Line Tools To install, execute

xcode-select --install
1

in the terminal emulator of your choice, and the macOS GUI will give you the option to install Xcode (from the Mac App Store) or the CLTs. If you install Xcode, launch it at least once to complete the installation and agree to the license.

Alternatively, you can use CodeSigner to sign some apps.

# Installation instructions

  • downloaded CodeSigner, then mount the DMG volume

  • Copy CodeSigner.app from the mounted DMG volume into one of your applications paths; recommended: ~/Applications/Utilities/

  • If you are using macOS Finder or a similar application with Services support as your main file manager, double-click the CodeSigner workflow: a window titled Quick Action Installer will appear asking you if you want to install it; click Install. You can assign a keyboard shortcut to the Quick Action in System Preferences > Keyboard > Shortcuts > Services > Files and Folders > CodeSigner

  • If you also want the ability to manually run CodeSigner in a terminal emulator—example:

  • codesigner /Applications/Parallels\ Desktop.app

  • —copy the codesigner shell script into your $PATH, e.g. /usr/local/bin/

  • On Mojave please allow CodeSigner to control System Events; this is necessary for GUI prompts to work via AppleScript

# What’s New

Version 0.9.3 beta 4:

  • CodeSigner will now grab an application's or file's icon for the notifications

  • Bug fix: account for terminal-notifier display error in case of filenames with leading double-quotes (thanks to roryokane)

  • If codesigner doesn't execute as a Platypus app, it will search for terminal-notifier only in the default macOS Applications paths, and in installation directories for Homebrew, MacPorts and Fink (thanks to roryokane)

# Compatibility

OS X 10.8 or later, 64-bit processor

# Screenshots

上次更新: 2024/08/11, 01:59:03
一览Mac OS 图形界面的发展史
在M1芯片Mac上使用Homebrew

← 一览Mac OS 图形界面的发展史 在M1芯片Mac上使用Homebrew→

最近更新
01
WPS快捷键
05-21
02
Disable notification "to get future google chrome updates you'll need macos 10.13 or later" on mac
05-14
03
MacOS软件推荐
04-30
更多文章>
Theme by Vdoing | Copyright © 2019-2025 Ji Fu | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式