macOS: Notarize in Script?
问题 Because the codesigning and archiving by Xcode is time-consuming, boring and problematic, I've always codesigned, archived and shipped my Developer ID signed macOS app using the command-line tools xcodebuild , codesign , etc. via my own script. Notarizing looks like it is going to be a major pain. Is it possible to add notarizing to my script? 回答1: Yes. Unfortunately, the official answer leaves some loose ends, for example this important tidbit from Quinn "the Eskimo". Here is how to do it: