@donmetzler thanks for the followup comment - do you remember by chance what command you used for codesigning and did you code sign the whole .app folder?
I don't know much about the process and have a pyinstaller app that I'm trying to get notarized but it gives me the invalid status as you got.
Post
Replies
Boosts
Views
Activity
@eskimo you were right, the first couple of submissions took 24+ hours but subsequent submissions are finishing faster.
Only problem is they all say "INVALID"
Processing complete
id: 1716a97e-6aab-4114-aa04-1d9f20b05241
status: Invalid
[05:06:27.381Z] Debug [CTXMGR] Removed temporary directory: Optional(file:///var/folders/yn/kvdh5pp92f7f30l42y8r5s780000gn/T/TemporaryItems/NSIRD_notarytool_8YiczJ/)
Any idea on how to debug this? I don't see any additional information on why it's invalid.
Here are the steps I've taken so far
Codesign
codesign --deep --force --verbose --sign "Developer ID Application: ..." Open\ Interface.app
zip/archive the app
Submit for notarization
xcrun notarytool submit --wait --keychain-profile "Developer ID Application: ..." --verbose Open\ Interface.zip
Aha found the log command
xcrun notarytool log 1716a97e-6aab-4114-aa04-1d9f20b05241 --keychain-profile "Developer ID Application: ..."
{
"logFormatVersion": 1,
"jobId": "1716a97e-6aab-4114-aa04-1d9f20b05241",
"status": "Invalid",
"statusSummary": "Archive contains critical validation errors",
"statusCode": 4000,
"archiveFilename": "Open Interface.zip",
"uploadDate": "2024-04-11T05:05:34.922Z",
"sha256": "2a624092cd550c2c9436e794c7d178adeee7fba7ec3955c91045ac21cecfafcd",
"ticketContents": null,
"issues": [
{
"severity": "error",
"code": null,
"path": "Open Interface.zip/Open Interface.app/Contents/MacOS/Open Interface",
"message": "The executable does not have the hardened runtime enabled.",
"docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087724",
"architecture": "x86_64"
},
{
"severity": "error",
"code": null,
"path": "Open Interface.zip/Open Interface.app/Contents/Frameworks/speech_recognition/flac-mac",
"message": "The executable does not have the hardened runtime enabled.",
"docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087724",
"architecture": "x86_64"
},
{
"severity": "error",
"code": null,
"path": "Open Interface.zip/Open Interface.app/Contents/Frameworks/speech_recognition/flac-mac",
"message": "The binary uses an SDK older than the 10.9 SDK.",
"docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087723",
"architecture": "x86_64"
}
]