无法打开“微信”,因为apple无法检查其是否包含恶意软件
sakuralost opened this issue · comments
sakuralost commented
MacBook Pro-i9版 macOS sonoma 14.2.1 微信版本:3.8.6
之前安装一直提示:
mishixiaoye@mishixiaoyedeMacBook-Pro ~ % sudo wechattweak-cli install
Password:
------ Download ------
------ Unzip ------
Execute command: rm -rf /Applications/WeChat.app/Contents/MacOS/WeChatTweak.framework; unzip /tmp/WeChatTweak.zip -d /Applications/WeChat.app/Contents/MacOS
------ Backup ------
Created WeChat.bak...
------ Remove Codesign ------
Execute command: codesign --remove-sign /Applications/WeChat.app/Contents/MacOS/WeChat
------ Insert Dylib ------
Binary is a fat binary with 2 archs.
Added LC_LOAD_DYLIB to all archs in /Applications/WeChat.app/Contents/MacOS/WeChat
------ Add Codesign ------
Execute command: codesign --force --deep --sign - /Applications/WeChat.app/Contents/MacOS/WeChat
Install failed: Execute command: codesign --force --deep --sign - /Applications/WeChat.app/Contents/MacOS/WeChat failed: {
NSAppleScriptErrorAppName = "wechattweak-cli";
NSAppleScriptErrorBriefMessage = "/Applications/WeChat.app/Contents/MacOS/WeIn subcomponent: /Applications/WeChat.app/Contents/MacOS/WeChat\U7684\U66ff\U8eab";
NSAppleScriptErrorMessage = "/Applications/WeChat.app/Contents/MacOS/WeChat:In subcomponent: /Applications/WeChat.app/Contents/MacOS/WeChat\U7684\U66ff\U8eab";
NSAppleScriptErrorNumber = 1;
NSAppleScriptErrorRange = "NSRange: {0, 97}";
}
mishixiaoye@mishixiaoyedeMacBook-Pro ~ %
看了Issues后去安全隐私打开了APP管理里的终端,还是报这个错,然后一怒之下删了微信,重新安装,然后没有打开微信直接执行安装,非常顺畅 输出如下:
mishixiaoye@mishixiaoyedeMacBook-Pro ~ % brew install sunnyyoung/repo/wechattweak-cli
Warning: Not upgrading wechattweak-cli, the latest version is already installed
mishixiaoye@mishixiaoyedeMacBook-Pro ~ % sudo wechattweak-cli install
------ Download ------
------ Unzip ------
Execute command: rm -rf /Applications/WeChat.app/Contents/MacOS/WeChatTweak.framework; unzip /tmp/WeChatTweak.zip -d /Applications/WeChat.app/Contents/MacOS
------ Backup ------
Created WeChat.bak...
------ Remove Codesign ------
Execute command: codesign --remove-sign /Applications/WeChat.app/Contents/MacOS/WeChat
------ Insert Dylib ------
Binary is a fat binary with 2 archs.
Added LC_LOAD_DYLIB to all archs in /Applications/WeChat.app/Contents/MacOS/WeChat
------ Add Codesign ------
Execute command: codesign --force --deep --sign - /Applications/WeChat.app/Contents/MacOS/WeChat
------ Reset ScreenCapture privacy permission ------
Execute command: tccutil reset ScreenCapture com.tencent.xinWeChat
Install success!
mishixiaoye@mishixiaoyedeMacBook-Pro ~ %
再进入微信,提示:无法打开“微信”,因为apple无法检查其是否包含恶意软件如下图
怒again 重启电脑,,,
还是不行~~~
cylll commented
商店版的微信吗? 试试官网的dmg呢