I made application by Automator,and then I notarized application, It is successful to notarize this app separately. But it is failed to do notarization after generating PKG file,I got some errors as below.
{
"severity": "error",
"code": null,
"path": "xxxx.pkg/xxx.pkg Contents/Scripts/xxx.app/Contents/MacOS/Application Stub",
"message": "The signature of the binary is invalid.",
"docUrl": null,
"architecture": "x86_64"
}
This error occurred suddenly in early July, and no changes have been made to the app before that.
{
"severity": "error",
"code": null,
"path": "xxxx.pkg/xxx.pkg Contents/Scripts/xxx.app/Contents/MacOS/Application Stub",
"message": "The signature of the binary is invalid.",
"docUrl": null,
"architecture": "x86_64"
}
This error occurred suddenly in early July, and no changes have been made to the app before that.