OS X 10.12 (Sierra) Temporary Workaround for AIJ

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

OS X 10.12 (Sierra) Temporary Workaround for AIJ

karenacollins
Administrator
This post was updated on .
AIJ is not currently compatible with OS X 10.12 (Sierra), unless you have temporary superuser access to the OS. To resolve this problem, a signed version of AIJ will eventually be released.

1) If you haven't already, Install AIJ by unzipping the install file and dragging the resulting AstroImageJ folder to the Applications folder.

Workaround:
2) Open the Terminal app from the /Applications/Utilities/ folder and then enter the following command syntax: sudo spctl --master-disable
3) Hit return and authenticate with an admin password.
4) Relaunch System Preferences and go to “Security & Privacy” and the “General” tab.
5) You will now see the “Anywhere” option under “Allow apps downloaded from:”. Select this option.
6) Make a copy of /Applications/AstroImageJ/AstroImageJ64.app on the desktop. An easy way to do that is hold down the alt key while dragging AstroImageJ64.app from the /Applications/AstroImageJ folder to the desktop.
7) Delete the original copy of AstroImageJ64.app that is still in the /Applications/AstroImageJ folder.
8) Drag the copy of AstroImageJ64.app from the desktop back to the /Applications/AstroImageJ folder.
9) Start AIJ and set up your memory settings as needed.
10) Close AIJ.
11) After running AIJ the first time, enter the following command syntax to reenable GateKeeper (AIJ will continue to work normally): sudo spctl --master-enable
Reply | Threaded
Open this post in threaded view
|

Re: OS X 10.12 (Sierra) Temporary Workaround for AIJ

brianrhill
This post was updated on .
This installation workaround went just as you documented on macOS (Sierra) 10.12 (10.12.2, specifically), although I got an error message when I bumped the memory size (the app is trying to write to a read-only sandboxed copy of itself).

My main problem, possibly also related to the sandboxing, is that the toolbar stops with the color picker (dropper) tool. To the right of the dropper where page 7 of your manual shows additional AstroImageJ tools, there are just eight blank, inactive buttons.

Edit: After reading the issues that Walter Glowgowski had on 10.12, they sound remarkably similar to mine. The installation workaround (`sudo sudo spctl --master-disable`, etc.) really only got me past the initial "Application is damaged" problem.
Reply | Threaded
Open this post in threaded view
|

Re: OS X 10.12 (Sierra) Temporary Workaround for AIJ

karenacollins
Administrator
Thanks for the report. Apple has apparently now added more fun. There
are some simple extra steps that will make it work again. The original
post above has been edited to include the extra steps. If you have
already completed the original workaround, you should be able to just
make a copy of /Applications/AstroImageJ/AstroImageJ64.app on the
desktop. An easy way to do that is hold down the <alt> key while
dragging AstroImageJ64.app from the /Applications/AstroImageJ folder to
the desktop. Then delete the original copy of AstroImageJ64.app that is
still in the /Applications/AstroImageJ folder. Finally, drag the copy of
AstroImageJ64.app from the desktop back to the /Applications/AstroImageJ
folder.

Now try starting AIJ and check your AIJ specific toolbar icons and your
ability to set your memory allocation.

It sounds like a ridiculous additional step to work around a security
issue, but it worked for me. Please confirm that it works for you as well.

Karen
Reply | Threaded
Open this post in threaded view
|

Re: OS X 10.12 (Sierra) Temporary Workaround for AIJ

brianrhill
Dear Karen,

With your additional steps, the installation works perfectly.

By the way, I am now on macOS 10.12.3, released by Apple on January 23rd, 2017, and I followed your steps using that version.

Thanks for coming up with this! It really wouldn't have occurred to me.

~Brian
Reply | Threaded
Open this post in threaded view
|

Re: OS X 10.12 (Sierra) Temporary Workaround for AIJ

JohnAaronRead
In reply to this post by karenacollins
Hi Karen,

I got to the step where I dragged AstroimageJ back into the folder, but when I tried to open it, I got the following error:



Seems like we're close, but not quite there :-)

JR
Reply | Threaded
Open this post in threaded view
|

Re: OS X 10.12 (Sierra) Temporary Workaround for AIJ

JohnAaronRead
We'll, after a few more attempts, the 64 bit version now opens without issue. However, when I try to update, I now get the following error here as well:

Reply | Threaded
Open this post in threaded view
|

Re: OS X 10.12 (Sierra) Temporary Workaround for AIJ

karenacollins
Administrator
In reply to this post by JohnAaronRead
Based on the first message above, it appears that when you copied the AstroImageJ64.app file to the desktop, it made an alias on the desktop rather than a full copy of the file. Note that if you are dragging the file from the applications folder to the desktop, you need to hold the <alt> key to make a full copy that is not just a pointer back to the file in the applications folder.

Let me know what happens after you have confirmed that this step (and the others) have been completed as listed in the initial post here.

Also, if you are still having trouble, I need to know the specific OS version you are running.

Karen