Confusion about syntax for notarizing an app using xcrun altool
1
vote
1
answer
853
views
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 "my_email@gmail.com" -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 my_email@gmail.com —password "@keychain:AC_PASSWORD"
The resulting error message states "No command argument was specified"
What is the fundamental issue I'm overlooking?
Asked by fishbacp
(153 rep)
Oct 7, 2021, 01:12 PM
Last activity: Mar 6, 2022, 05:03 PM
Last activity: Mar 6, 2022, 05:03 PM