Notarization - invalid 2, Package Invalid

I have code signed a screen saver (legacy screen saver)
I have verified it is code signed using: codesign -vvv --deep --strict pathtofile
(valid on disk, satisfies its Designated Requirement)

I have tried putting the file into a folder and then using:
/usr/bin/ditto -c -k --keepParent APP_PATH ZIPPATH
and I have tried just zipping the .saver file using the same ditto command.

Then I try to notarize by using:
xcrun altool \
  • -notarize-app \

  --primary-bundle-id "com.***.screen.zip" \
  • -username appleID \

  • -password appSpecificPassword \

  --asc-provider ProviderShortName \
  --file screensaver.zip

It says No errors uploading and gives me a RequestUUID back.

However at the end of all this, it tells me it was not notified, that status = invalid, status code = 2, Package invalid

How can I find out what the problem is? Where did I go wrong?
Thanks!

Replies

Ignore. I figured it out. How do you delete a post?

How do you delete a post?

There’s no way to delete a thread but, honestly, I wouldn’t worry too much about that.

What you could do is repurpose this thread by sharing a short summary of how you resolved the issue. That might help if someone else runs into a similar problem in the future.

Share and Enjoy

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

I went carefully through your previous posts about notarization and saw the timestamp requirement.
That fixed it!