I use below command to notarize my xxxx_setup.pkg
I have used command below to check the binary yyyy
and I get info below :
So who can help me to dig out these bugs.
Uploading is performed normally. And from the logFile of notarization-info command, I got the error message of my main executable file (yyyy) under xxxx.app/Contents/MacOS as below:
sudo xcrun altool --notarize-app --primary-bundle-id "net.xxxx.xxxx" --username "xxxx@gmail.com" --password "xxxxxxxxxx" --file ./xxxx_setup.pkg -itc_provider "XXXXXXXX"
Code Block { "logFormatVersion": 1, "jobId": "34e7712f-8ebe-49a7-b10a-9863eba7c666", "status": "Invalid", "statusSummary": "Archive contains critical validation errors", "statusCode": 4000, "archiveFilename": "xxxx_setup.pkg", "uploadDate": "2021-04-06T14:07:55Z", "sha256": "944b56a56cb91c06b937b548fe9fbb6a2d039e4d4fe949819cac93d3821dff42", "ticketContents": null, "issues": [ { "severity": "error", "code": null, "path": "xxxx_setup.pkg/xxxx.pkg Contents/Payload/Applications/xxxx.app/Contents/MacOS/yyyy", "message": "The signature of the binary is invalid.", "docUrl": null, "architecture": "x86_64" } ] }
I have used command below to check the binary yyyy
codesign -vvv --deep --strict /path/to/binary
and I get info below :
I use codesign -dvvv to validate the signature of the execuable file. All the timestamp and signed are there.yyyy : valid on disk
yyyy : satisfies its designated requirement.
So who can help me to dig out these bugs.