sunnyyoung / WeChatTweak-macOS

A dynamic library tweak for WeChat macOS - 首款微信 macOS 客户端撤回拦截与多开 🔨
https://tweaks.app
Apache License 2.0
11.03k stars 1.37k forks source link

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

Closed badboy-tian closed 9 months ago

badboy-tian commented 9 months ago
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}";
}

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

nonononanana commented 9 months ago

same problem

itfooter commented 9 months ago

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

itfooter commented 9 months ago

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

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

badboy-tian commented 9 months ago

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

HaoCya commented 7 months ago

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

请问一下,这个问题有被解决方案吗?