eclipse 应用程序无法打开,因为它来自身份不明的开发者

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/19551298/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 21:57:11  来源:igfitidea点击:

App can't be opened because it is from an unidentified developer

eclipseosx-mavericks

提问by Chandan

I installed Mac OS X Mavericks (10.9) yesterday and since then I am not able to start my Eclipse. I am attaching a screenshot of the message I see.

我昨天安装了 Mac OS X Mavericks (10.9),从那以后我无法启动我的 Eclipse。我附上了我看到的消息的屏幕截图。

Is there a workaround for this?

有解决方法吗?

Enter image description here

在此处输入图片说明

I found a solution in Fix the “App can't be opened because it is from an unidentified developer” Error in Mac OS X.

我在修复 Mac OS X 中“无法打开应用程序,因为它来自身份不明的开发人员”错误中找到了解决方案。

回答by trojanfoe

It's because of the Security options.

这是因为安全选项。

Go to System Preferences... > Security & Privacyand there should be a button saying Open Anyway, under the Generaltab.

转到,在选项卡下System Preferences... > Security & Privacy应该有一个按钮说。Open AnywayGeneral

You can avoid doing this by changing the options under Allow apps downloaded from:, however I would recommend keeping it at the default Mac App Store and identified developers.

您可以通过更改 下的选项来避免这样做Allow apps downloaded from:,但我建议将其保留为默认值Mac App Store and identified developers

回答by Shlensky

An easier way to open a document from an unidentified developer, if you know it's safe, is to control-click on the file icon and then select "Open." You will then be given the option of opening it regardless of its unidentified source.

从身份不明的开发人员那里打开文档的一种更简单的方法(如果您知道它是安全的)是按住 Control 键并单击文件图标,然后选择“打开”。然后,无论其来源不明,您都可以选择打开它。

回答by Abdala Cerqueira

Right-click (or control-click) the application in question and choose "Open"

右键单击(或按住 Control 单击)相关应用程序并选择“打开”

回答by Skylar Ittner

You can also use the xattrcommand as in Stack Overflow question How do I remove the "extended attributes" on a file in Mac OS X?.

您还可以使用xattrStack Overflow 问题中的命令如何在 Mac OS X 中删除文件上的“扩展属性”?.

Just remove the com.apple.quarantineattribute. It works even if you don't have an administrator account, which can be a plus. After that, the app isn't considered "downloaded" and is therefore not blocked.

只需删除该com.apple.quarantine属性。即使您没有管理员帐户,它也可以工作,这可能是一个加分项。之后,该应用程序不会被视为“已下载”,因此不会被阻止。

回答by Daniel K.

In terminal type the command:

在终端输入命令:

xattr -d com.apple.quarantine [file path here]

Once you click enter it will no longer have that problem. Its annoying that apple adds a quarantine to files automatically. I do not know how to turn this off but there probably is a way...

一旦你点击进入它就不再有这个问题了。苹果自动为文件添加隔离区很烦人。我不知道如何关闭它,但可能有一种方法......

回答by whyceewhite

It is prohibiting the opening of Eclipse app because it was not registered with Apple by an identified developer. This is a security feature, however, you can override the security setting and open the app by doing the following:

它禁止打开 Eclipse 应用程序,因为它不是由已确定的开发人员向 Apple 注册的。这是一项安全功能,但是,您可以通过执行以下操作来覆盖安全设置并打开应用程序:

  1. Locate the Eclipse.app (eclipse/Eclipse.app) in Finder. (Make sure you use Finder so that you can perform the subsequent steps.)
  2. Press the Control key and then click the Eclipse.app icon.
  3. Choose Openfrom the shortcut menu.
  4. Click the Openbutton when the alert window appears.
  1. 在 Finder 中找到 Eclipse.app (eclipse/Eclipse.app)。(确保您使用 Finder,以便您可以执行后续步骤。)
  2. 按 Control 键,然后单击 Eclipse.app 图标。
  3. 从快捷菜单中选择打开
  4. 当警报窗口出现时,单击打开按钮。

The last step will add an exception for Eclipse to your security settings and now you will be able to open it without any warnings.

最后一步会将 Eclipse 的例外添加到您的安全设置中,现在您可以在没有任何警告的情况下打开它。

Note, these steps work for other *.app apps that may encounter the same issue.

请注意,这些步骤适用于可能遇到相同问题的其他 *.app 应用程序。

回答by cryptonkid

you can modify the gatekeeper settings by running the following command

您可以通过运行以下命令来修改网守设置

To disable to allow apps from anywhere to be installed use the following command in terminal ::

要禁用以允许安装来自任何地方的应用程序,请在终端中使用以下命令::

sudo spctl --master-disable

须藤 spctl --master-disable

To re-enable use the following command

要重新启用使用以下命令

sudo spctl --master-enable

须藤 spctl --master-enable

回答by Ray

I had the same problem, Eclipse would not start. Found this link and it worked like a charm:

我有同样的问题,Eclipse 无法启动。找到了这个链接,它就像一个魅力:

Can't click Menu Bar Items in Eclipse

无法单击 Eclipse 中的菜单栏项

Java is messed-up on Maverick, need to download and install from here: http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US

Java 在 Maverick 上搞砸了,需要从这里下载和安装:http: //support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US

回答by Mark

Control Click the application in the Applications folder, not lauchpad. Choose open and then you get an options to actually open it.

控制 单击 Applications 文件夹中的应用程序,而不是 lauchpad。选择打开,然后你会得到一个选项来实际打开它。

回答by Insleep

Right click > Open.

右键单击 > 打开。

Or, you can go into System Preferences, Security & Privacy, and set the restrictions on opening apps there.

或者,您可以进入系统偏好设置、安全性和隐私,并在那里设置打开应用程序的限制。