Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Just updated the mountain lion, and download the latest Eclipse 4.2 to upgrade the old one. However when opening the application, it shows that it is from an unidentified developer and the gatekeeper refuses to open it.

I know that there is an option to change the security and privacy option to allow it, however I want to know whether there is a way to just add eclipse into the list. Any hint on this?

More information: before updating I have the Eclipse 3.7.2 on machine, and after updating it works smoothly (I think I have added it into the allow list). So is there a way to do this to Eclipse 4.2?

Thanks in advance!

share|improve this question
Right-click the Eclipse application and choose open. This should make OS X trust it. – Thorbjørn Ravn Andersen Jan 23 '13 at 17:22
up vote 16 down vote accepted
  1. disable Gatekeeper ("Allow applications downloaded from: Anywhere")
  2. run Eclipse once
  3. reset Gatekeeper to a more strict level ("Mac Store and identified developers".)

Doing this has allowed me to start Davmail, also a Java app, after Mountain Lion initially claimed the binary was corrupt ("App is damaged and can’t be opened" error message) even when back on the stricter level.

Another option, as mentioned in John Siracusa's excellent review, is to do the following from the Terminal:

% xattr -d /path/to/

I have not (yet) personally tested this but John's a solid source.

share|improve this answer
Works like a charm! Thanks~ – asksw0rder Jul 28 '12 at 7:46
Yes, the command works ;) – DiogoNeves Oct 12 '12 at 1:56
Alternate unpacking tools may also work. E.g. when extracting the archive StuffIt expander, can be run without any problems... – rec Jun 24 '14 at 19:28

Actually, just right-click on any app that Gatekeeper complains about and select "Open". You'll get a warning, but one of the buttons is "open". After you select "open" in the dialog box, you'll never see the warning for that application again.

This is explained as exempting the specific application in Apple's Gatekeeper FAQ:

share|improve this answer

No, there's no specific editable "list" for Gatekeeper. Apps that are already present on your system are by default added to the Gatekeeper "whitelist", which is why it runs without incident after you updated to Mountain Lion.

The only options you have are to change your security preferences to allow all apps, or to right/Control-click on the newly downloaded app and select "Open". This will allow you to bypass Gatekeeper for that app now and always.

share|improve this answer
There is such a list: /var/db/SystemPolicy. – chiggsy Jan 23 '13 at 15:03

Yes there is such a list:

from man spctl


Use the spctl tool to add and remove items from the policy.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.