bw4sz / DeepMeerkat

Background subtraction and image classification for stationary cameras in ecological videos.
http://benweinstein.weebly.com/deepmeerkat.html
GNU General Public License v3.0
26 stars 11 forks source link

Bypassing Mac OSX gatekeeper. #3

Open bw4sz opened 6 years ago

bw4sz commented 6 years ago

OSX users have reported some trouble installing. Below are a few options.

  1. First try installing the dmg normally. Double click the .dmg and drag DeepMeerkat into applications folder. Attempt to run. If you get an error message, it is because of OSX gatekeeper trying to protect you from non-mac identified software.

I have found that pre OSX Sierra, the above works without issue. On OSX Sierra, try the solutions outlined below. To check your OSX version go to the apple icon in the top left and select "About this Mac". Mine looks like

screen shot 2018-05-09 at 9 07 45 am

OSX users must allow non-identified developer app.

First try:

http://osxdaily.com/2013/11/08/bypass-gatekeeper-mac-os-x-security-prefs/

Open DeepMeerkat app after dragging it to applications folder. It will give warnings about unidentified developer. Go to System Preferences -> Security, and select open anyways (it will appear after you try to open DeepMeerkat and are denied).

screen shot 2018-01-25 at 2 05 52 pm

Some users still report a OSStatus Error -067062

bw4sz commented 6 years ago

I have confirmed a workaround.

This only has to be done ONCE.

Make sure you have downloaded DeepMeerkat, extracted the .dmg file and placed the app in your "Applications" Folder

screen shot 2018-01-25 at 1 57 23 pm

Open terminal

screen shot 2018-01-25 at 1 37 07 pm

Go to your Applications folder. Easiest way is to do

cd ~
cd Applications

High Sierra users need to temporarily disable the download protections.

sudo spctl --master-disable

It will ask you for your login password. This is the normal password you use when you turn the computer on.

You need to open DeepMeerkat just once from the command line by typing

open -a "DeepMeerkat"

It should open and you should see the front screen.

Close it, now you can go back and re-enable the download protections.

sudo spctl --master-enable

In total your terminal window looks like

screen shot 2018-01-25 at 1 59 58 pm

From now on, DeepMeerkat will be allowed to open without a problem. You can double click on it directly.

This is awkward, but I'm considering this a workaround until a true fix arrives.

bw4sz commented 6 years ago

Apple offers a dev license for academic institutions

https://developer.apple.com/support/membership-fee-waiver/

I will applying for one, which will hopefully bypass this issue.