can't be opened because the identity of the developer cannot be confirmed

24,307

Solution 1

  1. Open 'System Preferences'
  2. Go to 'Security & Privacy' and tap on 'General' tab
  3. Click on 'Lock' icon which you can find on bottom left screen and type your administrator password.
  4. The last step is to choose 'Anywhere' under 'Allow apps downloaded from:' and then again click on 'Lock' icon.
  5. Now you can run any apps.

Solution 2

For users, just Right Click the application or file > Click Open.

For developers, this is not a signing problem, but a notarisation problem. You should notarise your application. Have a look at Notarizing macOS Software Before Distribution

Solution 3

Steps to fix this warning:

Click on Cancel on the message,

Now go to Apple Menu: System Preferences...

Click on Security & Privacy,

Go to Genrals Tab,

Here you should see "Allow apps downloaded from: "Android Emulator" was blocked from use. because it is not from an identified developer.

Click on the lock to Autenticate and make changes:

Click on open Anyways

You will again see a warning: Just click on Open button

Solution 4

You simply need to run the following in your command line.

sudo spctl --master-disable

This will allow apps from any developer to be downloaded and executed on your machine.

Share:
24,307
Ravi Kumar Karunanithi
Author by

Ravi Kumar Karunanithi

Updated on July 09, 2022

Comments

  • Ravi Kumar Karunanithi
    Ravi Kumar Karunanithi almost 2 years

    I have developed an application and daemon in Mac OSX and i have signed with developer id both Application and Daemon source in xcode. In daemon, i have signed each framework and packaged, and i have pkg to all using package installer. Now my app is .mpkg.

    i have signed this mpkg also. and each package is also signed. i have check in terminal. it shows my developer id and i have checked everything is signed in my mpkg.

    I have release out of mac store.

    i have install without signed, then the mac says,

    Myapp.mpkg Can't be opened because it is unidentified developer

    now change settings to "System Preferences... > Security & Privacy --> Mac App Store and identified developers" then i try to install my signed mpkg, the mac says now,

    "MyApp.mpkg can't be opened because the identity of the developer cannot be confirmed"

    see the both msg now, its shows now identity developer".

    i have googled. it says go to enable Open anyway in sequrity &privacy under Mac appstore and identiied deverloper" check below image

    enter image description here

    What is the use of this. Now my question is

    1 .Is i'm signed mpkg properly.
    
    2. If i signed properly and i'm valid developer, then why it ask permission in security page.
    
    3. Is this confirm "Open Anyway" this msg whenever i try to install?
    
    4. If i did this, next time this will not ask, so how can i disallow.
    

    can you anybody clarify my doubt. I need to send it to client for those things about this. Thanks for Advance.

  • gMale
    gMale about 6 years
    The "Anywhere" option is now gone in Sierra. When opening fails, there will be an "Open Anyway" button in System Preferences > Security & Privacy > General and then when you click that you get ANOTHER warning and you have to ultimately click the Open button and it will work. I keep running into this for Android Studio Canary builds and it is annoying. Apple is borrowing a page out of Window's playbook.
  • Salomanuel
    Salomanuel about 5 years
    the Open button is not even present on my Mojave when I try to run Gimp on