安装失败 tccutil reset ScreenCapture com.tencent.xinWeChat failed
yaepung opened this issue · comments
10.13.6的系统
------ 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.
LC_CODE_SIGNATURE load command found. Remove 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
------ Reset ScreenCapture privacy permission ------
Execute command: tccutil reset ScreenCapture com.tencent.xinWeChat
Install failed: Execute command: tccutil reset ScreenCapture com.tencent.xinWeChat failed: {
NSAppleScriptErrorAppName = "wechattweak-cli";
tccutil: error: unrecognized arguments: ScreenCapture com.tencent.xinWeChat"; [--list] [--digest] [--insert INSERT]
tccutil: error: unrecognized arguments: ScreenCapture com.tencent.xinWeChat";ist] [--digest] [--insert INSERT]
NSAppleScriptErrorNumber = 2;
NSAppleScriptErrorRange = "NSRange: {0, 67}";
}
我也遇到了这个问题