gpt4 book ai didi

macos - 无法打开 Visual Studio Code,因为 "Apple cannot check it for malicious software"

转载 作者:行者123 更新时间:2023-11-29 05:15:43 24 4
gpt4 key购买 nike

我第一次下载了 Visual Studio Code,但我不断收到以下消息:

apple error message when clicking on VSC app

"Visual Studio Code" can't be opened because Apple cannot check it for malicious software.

This software needs to be updated. Contact the developer for more information.

我的 MacBook 是最新的,我什至在他们的网站上更新了最新版本的 VSC(2019 年 9 月(版本 1.39);10 月没有),但它仍然给了我同样的消息。

查看他们的常见问题解答,我读到了有关重新安装 VS Code 的内容。我这样做了,但还是不行。

最佳答案

macOS Catalina 要求应用程序经过 Apple 公证。 Microsoft 尚未针对新操作系统更新您的 Visual Studio Code 版本。

请尝试以下操作:

Right-click on the app and select Open.

如果这不起作用,请删除在应用程序上设置的隔离扩展属性:

  1. 将应用移至“应用程序”文件夹
  2. 打开 Terminal.app,然后粘贴并执行以下命令:

xattr -d com.apple.quarantine/Applications/Visual\Studio\Code.app

关于macos - 无法打开 Visual Studio Code,因为 "Apple cannot check it for malicious software",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59210132/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com