sunnyyoung / WeChatTweak-macOS

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

WeChat: resource fork, Finder information, or similar detritus not allowed #802

Open baoguok opened 5 days ago

baoguok commented 5 days ago

系统版本:macOS 15.0 微信版本:Version. 3.8.8 (28538) 错误信息如下:


------ 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/WeChat: resource fork, Finder information, or similar detritus not allowed";
    NSAppleScriptErrorMessage = "/Applications/WeChat.app/Contents/MacOS/WeChat: resource fork, Finder information, or similar detritus not allowed";
    NSAppleScriptErrorNumber = 1;
    NSAppleScriptErrorRange = "NSRange: {0, 97}";
}```
baoguok commented 5 days ago

已解决,步骤如下:

  1. 使用AppCleaner卸载
  2. 从AppStore下载安装
  3. sudo wechattweak-cli install
thefreelight commented 2 days ago

感谢分享

thefreelight commented 2 days ago

image 报这个错误

thefreelight commented 2 days ago

关键我就是从appstore安装的也不行,和你一样的系统,一样的版本