sunnyyoung / WeChatTweak-macOS

A dynamic library tweak for WeChat macOS - 首款微信 macOS 客户端撤回拦截与多开 🔨

Home Page:https://tweaks.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sudo wechattweak-cli install失败, 已经给终端权限

badboy-tian opened this issue · comments

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 ------
WeChat.bak exists, skip it...
------ Remove Codesign ------
Execute command: codesign --remove-sign /Applications/WeChat.app/Contents/MacOS/WeChat
------ Insert Dylib ------
Binary is a fat binary with 2 archs.
Binary already contains a load command for that dylib. Skip it.
Binary already contains a load command for that dylib. Skip it.
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/WeChatPlugin.framework";
    NSAppleScriptErrorMessage = "/Applications/WeChat.app/Contents/MacOS/WeChat:In subcomponent: /Applications/WeChat.app/Contents/MacOS/WeChatPlugin.framework";
    NSAppleScriptErrorNumber = 1;
    NSAppleScriptErrorRange = "NSRange: {0, 97}";
}

已经给了终端磁盘访问权限

same problem

升级最新版微信后出现同样问题

升级最新版微信后出现同样问题

已解决,系统设置->隐私与安全->app管理->把iTerm打开 再执行命令就可以了

我那个不行 我是自带的终端 给了权限的 还是不行