Apple 删除了TNT的证书,因此应用程序将在7月12日之后出现崩溃。目前的解决方案是自己签名。(但不能保证每个崩溃资源都可行,只能是尝试,有更好的方法还会在网站上公布)
使用方法:
1.请先安装xcode(如果您安装Xcode,请至少启动一次以完成安装并同意许可),安装方法如下:
打开终端,执行:
2.双击打开【CodeSigner】进行安装,在Mojave上,请允许CodeSigner控制系统事件:
3.安装【CodeSigner】后,请进入应用文件夹,右击崩溃的应用,选择【快速操作】中的【CodeSigner】:
4.出现如下界面时,请选择深度Deep:
5.签署完成后右上角出现如下,表示已签署完成。就可以直接打开应用了
或者在终端内运行
1
|
- codesign --force --deep --sign - /Applications/Your App Name.app
|
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
Requisite: Xcode or the Apple Command Line Tools
To install, execute
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
Or run
1
|
- codesign --force --deep --sign - /Applications/Your App Name.app
|
in terminal, It will try to force sign the app and give you permission to run it.