So I wanted to download the git command line and when opening the .pkg I got an Un ID'd Developer message.

I do not have admin rights and am locked out of the gatekeeper panel.

I then tried the xattr -d com.apple.quarantine method to no avail.

Any tips?


NOTE: OSX El Capitan

  • 1
    Blocked by design! You'll need an admin password. Like, absolutely need an admin password. – owlswipe Feb 13 '17 at 2:45

Create a new folder, put the PKG you want to install into this new folder, CD to that directory then run these commands:

xar -x -f Install.pkg && rm Install.pkg && xar -cf Install.pkg * && open Install.pkg

(replace Install.pkg with the file name of the PKG file you want to install.)

These commands decompress the PKG, delete the original PKG, then create a new PKG, which should install without complaining about unidentified developers.

| improve this answer | |
  • Sorry if this is a stupid question but how do I create a new pkg? I got 3 files named "Bom", "PackageInfo" and "Payload" Is there a command or programI must use? Thanks again – Diego Eann Feb 14 '17 at 4:04
  • The new PKG file replaces "Install.pkg", which should open itself after you run these commands. The "Bom", "PackageInfo" and "Payload" files were extracted from the old PKG. The old PKG is then deleted, and a new PKG is created in its place. – Faiz Saleem Feb 14 '17 at 11:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .