MacOS: Notarize App without XCode

I have created my AppName.app using pyinstaller, and verified that it runs.

I have signed up for an Apple Developer account and paid the fees.

Now, I just need to notarize. I would like to avoid having to delete 20GB of files just so I can download XCode.

I've read this thread which suggests you can use the version of altool packaged with Transporter.app. However I cannot find altool in Transporter.app and besides apparently altool is old and has been replaced by notarytool.

Is it really the case that the only way to notarize an app is to install the 40GB XCode *****?

In https://developer.apple.com/download/all/ you can find "command line tools for Xcode 14.2".

Yep.

Also, you don’t even need to install the full Command Line Tools package. notarytool is built to operate standalone, so you can download the package, extract notarytool from it [1], and then throw the rest of the package away.

Share and Enjoy

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

[1] I use Pacifist for this sort of thing, but there are alternatives.

MacOS: Notarize App without XCode
 
 
Q