Thank you @eskimo, codesigning framework as a whole fixed my issue. Although, I do see issues when notarizing the app now
"status": "Invalid",
"statusSummary": "Archive contains critical validation errors",
"statusCode": 4000,
{
"severity": "error",
"code": null,
"path": "xxx(arm64).pkg/xxx.pkg Contents/Payload/Applications/xxx/xxx.app/Contents/Library/LaunchServices/com.xxx.PrivilegedHelper",
"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": "arm64"
},
{
"severity": "error",
"code": null,
"path": "xxx(arm64).pkg/xxx.pkg Contents/Payload/Applications/xxx/xxx.app/Contents/Frameworks/Sparkle.framework/Versions/B/Autoupdate",
"message": "The signature does not include a secure timestamp.",
"docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087733",
"architecture": "arm64"
}
It gave more errors with same info. But, I already add --timestamp and --options=runtime when codesigning my app. Not sure what's missing here. Could you please take a look. I can provide more logs if needed
Topic:
App & System Services
SubTopic:
Core OS
Tags: