opensim-org / opensim-gui

SimTK OpenSim graphical user interface and distribution.
Apache License 2.0
61 stars 32 forks source link

Mac App must be notarized for macOS Catalina #1143

Open chrisdembia opened 4 years ago

chrisdembia commented 4 years ago

macOS Catalina requires apps to be "notarized" before a user can install them (if GateKeeper is enabled?).

Here are instructions:

https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution

https://developer.apple.com/documentation/xcode/notarizing_your_app_before_distribution/customizing_the_notarization_workflow

aymanhab commented 4 years ago

Thanks for the pointer @chrisdembia have you tried using Xcode 10?

chrisdembia commented 4 years ago

Xcode 10 has been out for a year. Xcode 11 is out now and I’ve used both.

jenhicks commented 4 years ago

@jimmyDunne Can you test whether you can install one of the recent artifacts on Catalina?

chrisdembia commented 4 years ago

I installed a recent artifact on Catalina and had no issue.

jimmyDunne commented 4 years ago

I also downloaded an artifact on Catalina and went smoothly. 👍

jimmyDunne commented 4 years ago

I went to close but realized that we should still investigate notarizing for the long term.

jenhicks commented 4 years ago

OK ... I am moving this out of the sprint backlog and 4.1 milestone, but, yes, we should keep this open.

jimmyDunne commented 4 years ago

Seems like it is working now because Apple extended the deadline to Jan 2020; https://developer.apple.com/news/?id=09032019a

chrisdembia commented 4 years ago

@jimmyDunne the workaround you used for Moco should also work for the GUI.

This blog might help: https://scriptingosx.com/2019/09/notarize-a-command-line-tool/

chrisdembia commented 4 years ago

We will need to enable "hardened runtime" bu won't be able to do it through Xcode. Here's how we will do it: https://apple.stackexchange.com/questions/357411/enabling-hardened-runtime-from-outside-of-xcode

aymanhab commented 1 year ago

https://www.joelotter.com/2020/08/14/macos-java-notarization.html