Altool Error on OS 10.10.5 Yosemite - altool: unrecognized option `--notarize-app'

Hi Folks,

I am trying to build an electron app on a Mac with MacOS 10.10.5 Yosemite.

I have been able to sign the app bundle. Am trying to notarize it now but I find that the --notarize-app option is not available.

I suspect this is because of an older version of altool.

2 Questions:

A) Can I notarize an app on OS 10.10.5? B) If yes, how can I update only altool? I tried to download a higher version of Xcode command line tools but I can't install it.

Am stuck, so any help will be much appreciated.

Regards, Arun

If you don't have access to a more recent Mac, try using an automation on Github Actions.

First up, altool has been deprecated for the purposes of notarisation. Switch to notarytool; it’s better, stronger, and faster. For the details, see WWDC 2021 Session 10261 Faster and simpler notarization for Mac apps.

Moreover, it might help with this situation. altool is intimately tied to Xcode. In contrast, notarytool was designed to work standalone. It’s fine to extract notarytool from a modern Xcode and install it on older systems.

The only gotcha here is the age of your system. macOS 10.10 is really old, and I doubt that anyone has tested notarytool back that far. (I’ve personally tested it on 10.15 but there’s a big difference between 10.10 and 10.15.) Still, it’s worth a shot. If it works, you’re all set. If not, you’re no worse off than you are now.

Let us know how you get along.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Altool Error on OS 10.10.5 Yosemite - altool: unrecognized option `--notarize-app'
 
 
Q