V2rayU
V2rayU copied to clipboard
因证书过期了导致V2rayU无法使用临时解决方法
证书过期了app得重新签名 (两个设备同时登陆账户去开发,会导致之前的证书吊销???)
临时解决办法
- 先打开一次,报错不用管,终端跑以下命令,输入登录密码按回车,密码不会显示
sudo /usr/bin/codesign --force --deep --sign - /Applications/V2rayU.app
sudo /usr/bin/codesign --force --deep --sign - ~/.V2rayU/V2rayUTool
sudo /usr/bin/codesign --force --deep --sign - ~/.V2rayU/v2ray-core/v2ray
- 在应用程序里找到他,右键,显示简介,勾选 覆盖恶意软件保护
https://user-images.githubusercontent.com/17966333/250444425-c8865806-64da-4e64-9611-b16171ea912f.png
然后再打开就可以用了,用不了就重头再来一次
Originally posted by @zanjie1999 in https://github.com/yanue/V2rayU/issues/1236#issuecomment-1619324873
https://github.com/yanue/V2rayU/issues/1234#issue-1785277328
重新签名预览版
https://github.com/yanue/V2rayU/releases/tag/v3.4.0-preview
Good!
it works, thank you:)
这些都是同一个问题的重复issue,关联起来,都可以关了
#1236 #1235 #1234 #1233 #1232 #1239 #1240
Works~
Good!
it work !
nice thx
没有找到 “勾选 覆盖恶意软件保护” 这个开关或文字显示 @yanue
执行报错,不支持 --deep 参数:
> sudo codesign --force --deep --sign - /Applications/V2rayU.app
The following argument was not expected: --deep
Run with --help for more information.
> codesign -h
codesign
Usage: codesign [OPTIONS] [files...]
Positionals:
files TEXT ... Files to sign
Options:
-h,--help Print this help message and exit
-s,--sign TEXT REQUIRED Code signing identity
-i,--identifier TEXT File identifier
-f,--force Replace any existing signatures
--entitlements TEXT Entitlements plist
系统版本 macOS Monterey Version 12.4
执行报错,不支持 --deep 参数:
> sudo codesign --force --deep --sign - /Applications/V2rayU.app The following argument was not expected: --deep Run with --help for more information. > codesign -h codesign Usage: codesign [OPTIONS] [files...] Positionals: files TEXT ... Files to sign Options: -h,--help Print this help message and exit -s,--sign TEXT REQUIRED Code signing identity -i,--identifier TEXT File identifier -f,--force Replace any existing signatures --entitlements TEXT Entitlements plist
系统版本 macOS Monterey Version 12.4
原因是我安装的 Anaconda3 也有一个 codesign,需要使用系统自带的:
sudo /usr/bin/codesign --force --deep --sign - /Applications/V2rayU.app
sudo /usr/bin/codesign --force --deep --sign - ~/.V2rayU/V2rayUTool
sudo /usr/bin/codesign --force --deep --sign - ~/.V2rayU/v2ray-core/v2ray
没有找到 “勾选 覆盖恶意软件保护” 这个开关或文字显示 @yanue
重新安装之后需要重新打开应用 出现那个恶意需要删除的提示后 再尝试上面的命令更改就回出现那个选项了
证书过期了app得重新签名
临时解决办法
- 先打开一次,报错不用管,终端跑以下命令,输入登录密码按回车,密码不会显示
sudo /usr/bin/codesign --force -deep --sign - /Applications/V2rayU.app sudo /usr/bin/codesign --force --deep --sign - ~/.V2rayU/V2rayUTool sudo /usr/bin/codesign --force --deep --sign - ~/.V2rayU/v2ray-core/v2ray
- 在应用程序里找到他,右键,显示简介,勾选 覆盖恶意软件保护
https://user-images.githubusercontent.com/17966333/250444425-c8865806-64da-4e64-9611-b16171ea912f.png
然后再打开就可以用了,用不了就重头再来一次
Originally posted by @zanjie1999 in #1236 (comment)
第一步里的 第一条命令的参数貌似手误少写了一个 -
,应该是 --deep
才行,否则会报错的。😄
成功啦,注意不要用Anaconda3的codesign就好
我试了上面的方法,但是遇到“v2ray” can’t be opened because Apple cannot check it for malicious software.的问题
成功👍
亲测好用,给大佬点赞
Ventura 不需要第二步,直接重新签名就可以,3.4也需要重新签名
重新签名预览版 在11.7.6 版本上,依然无法解决问题。【重新签名预览版】可以直接安装,但是会提示““V2rayUTool”将对您的电脑造成伤害。 您应该将它移到废纸篓。” 然后去尝试【临时解决办法】也不管用,执行第一步的终端命令后,第二部“在应用程序里找到他,右键,显示简介,勾选 覆盖恶意软件保护”,会发现 V2RayU 的简介里没有 【覆盖恶意软件保护】的可勾选项。
这是执行第一步之后的 终端信息: Last login: Wed Jul 5 20:36:51 on ttys000 leo-Mac@192 ~ % sudo /usr/bin/codesign --force --deep --sign - /Applications/V2rayU.app sudo /usr/bin/codesign --force --deep --sign - ~/.V2rayU/V2rayUTool sudo /usr/bin/codesign --force --deep --sign - ~/.V2rayU/v2ray-core/v2ray Password: /Applications/V2rayU.app: replacing existing signature xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun /Applications/V2rayU.app: the codesign_allocate helper tool cannot be found or used In subcomponent: /Applications/V2rayU.app/Contents/Library/LoginItems/V2rayULauncher.app /Users/leo-Mac/.V2rayU/V2rayUTool: replacing existing signature xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun /Users/leo-Mac/.V2rayU/V2rayUTool: the codesign_allocate helper tool cannot be found or used xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun /Users/leo-Mac/.V2rayU/v2ray-core/v2ray: the codesign_allocate helper tool cannot be found or used leo-Mac@192 ~ %
这是V2RayU 的简介截图:
还有别的解决办法吗?@yanue
我尝试了卸载 重装 V3.2 版本,目前可以在我的系统版本BigSur 11.7.6 上正常使用。
我尝试了卸载 重装 V3.2 版本,目前可以在我的系统版本BigSur 11.7.6 上正常使用。
M1 版,3.4你也是依然弹窗删除吗
M1 版本问题依然存在
我尝试了卸载 重装 V3.2 版本,目前可以在我的系统版本BigSur 11.7.6 上正常使用。
M1 版,3.4你也是依然弹窗删除吗
嗯,就是 3.4 7-3 日早上突然弹窗不可用,我才回退到 3.2 版本的。3.2 正常,我的是 intel 核心的 MacBookPro。
You saved my life!!! Works on Version 13.4 (22F66)
App好了,但是V2rayUTool还是在报: “V2rayUTool” will damage your computer. You should move it to the Trash.
问题全都处理好了,但最后发现上不了网😂
不行哦,软件倒是不报错了,科学不了网
重新签名预览版 在11.7.6 版本上,依然无法解决问题。【重新签名预览版】可以直接安装,但是会提示““V2rayUTool”将对您的电脑造成伤害。 您应该将它移到废纸篓。” 然后去尝试【临时解决办法】也不管用,执行第一步的终端命令后,第二部“在应用程序里找到他,右键,显示简介,勾选 覆盖恶意软件保护”,会发现 V2RayU 的简介里没有 【覆盖恶意软件保护】的可勾选项。
这是执行第一步之后的 终端信息: Last login: Wed Jul 5 20:36:51 on ttys000 leo-Mac@192 ~ % sudo /usr/bin/codesign --force --deep --sign - /Applications/V2rayU.app sudo /usr/bin/codesign --force --deep --sign - ~/.V2rayU/V2rayUTool sudo /usr/bin/codesign --force --deep --sign - ~/.V2rayU/v2ray-core/v2ray Password: /Applications/V2rayU.app: replacing existing signature xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun /Applications/V2rayU.app: the codesign_allocate helper tool cannot be found or used In subcomponent: /Applications/V2rayU.app/Contents/Library/LoginItems/V2rayULauncher.app /Users/leo-Mac/.V2rayU/V2rayUTool: replacing existing signature xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun /Users/leo-Mac/.V2rayU/V2rayUTool: the codesign_allocate helper tool cannot be found or used xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun /Users/leo-Mac/.V2rayU/v2ray-core/v2ray: the codesign_allocate helper tool cannot be found or used leo-Mac@192 ~ %
这是V2RayU 的简介截图:
还有别的解决办法吗?@yanue
必须装了xcode command line tools才能执行这些命令
我试了上面的方法,但是遇到“v2ray” can’t be opened because Apple cannot check it for malicious software.的问题
如果遇到了提示无法验证是否是恶意软件,可以打开系统设置,安全与隐私,通用,下面有个仍然打开的按钮,点一下并且选择打开,退出app再重新打开,这么重复几次之后,就不会再弹了
问题全都处理好了,但最后发现上不了网😂
你用的M1电脑 3.4版本吗
I can not fix this problem on a device that does not have Xcode, and Xcode needs a lot of storage and data... would you mind releasing a new version and fixing this problem from the root?