I'm trying to obtain notarization for an app I developed outside Xcode but instead wrote using python and pyinstaller and that I wish to share outside the app store. I have a Developer's license, but am completely new to the notarization process and have been searching all over for assistance.
I first stored my Apple credentials using
xcrun altool --store-password-in-keychain-item "AC_PASSWORD" -u "firstname.lastname@example.org" -p "my_apple-password"
At the developer's website I created a certificate, developerID_application.cer, which I uploaded to my keychain and see listed as Developer ID Application: MyName (TeamID)
I then signed the app using
codesign -s "MyName (TeamID)" -v --deep --timestamp --entitlements entitlements.plist -o runtime "dist/My Application.app"
entitlements.plist is included here since the binaries were built using pyinstaller. (I'm following advice given at https://haim.dev/posts/2020-08-08-python-macos-app/.)
From what I can tell, the signing works. Now I attempt to notarize via
xcrun altool —notarize-app -f /Users/my_name/Desktop/my_application.zip --primary-bundle-id TeamID -u email@example.com —password "@keychain:AC_PASSWORD"
The resulting error message states "No command argument was specified"
What is the fundamental issue I'm overlooking?