Skip to content

Running dcli tools on Mac OS X

Mike Chambers edited this page Dec 3, 2020 · 9 revisions

Currently, the dcli tools are not signed which can cause some hassle the first time you run them on Mac OS X. You must manually give each app permission to run the first time you run it.

Here is a quick and relatively painless way to approve each app (you only have to do this the first time you run each tool). It consists of the commands run from the terminal:

dclims
open "x-apple.systempreferences:com.apple.preference.security?General"

Replace 'dclims' with the tool you are trying to run.

When you run the first command you will get this dialog:

Dialog 1

Just click "Cancel".

Then run the second command. This will open the system preferences to the General tab in the security panel, and will look like this:

Dialog 2

Click "Allow Anyways" on the bottom right.

Now, run the app again, and you will get one more dialog:

Dialog 3

Just click "Open". This whitelists the app and you now run it without any issues.

The project includes a simple bash script here which will run all of the apps. You can use this to make sure you gave all of the tools permission to run. You can run the first two steps above to give the apps permission, then run this script to show all of the final permission dialogs (then run again to confirm everything is setup). Phew... what a pain!

Apple has posted information on this in the following two docs:

I am looking into signing the apps, but until then, this will get you up and running.

Clone this wiki locally