App is damaged and can't be opened even if I notarized it

I have two apps that installed by .pkg . They are both signed by Developer Application . One of my apps has purpose of updating another app. It is implemented by deleteting it from folder, and unzipping archive with new .app to it's folder. Even if new app is signed and notarized, has stepled ticket on it, I get error "App is damaged and can't be opened". In Secrity and Confidentiality preferences I have warning that developer is unauthorized, even if this new app is notarized and signed. How can I implement app update to not throw error that app is damaged> Thanks a lot in advance

Replies

You’re hitting a a Gatekeeper check. I discuss the most common reasons for problems like this is the various posts linked to be Resolving Trusted Execution Problems. As a start, however, I recommend that you run syspolicy_check against the app, because it can usually give you a quick summary of what Gatekeeper is complaining about.

Share and Enjoy

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