code signing works well - but the app shows damaged (gatekeeper spctl check fails)

Hello,


We are working on a project which uses code signing to sign the application. While building the app code signing works well with a valid certificate and apple developer id. But somehow the package when opened shows as damaged.


We tried debugging gatekeeper spctl check by following command.

spctl -a  -vvv -t install MyApp.app


We are able to get accepted for same package on one mac machine , but for one of the other machines we face this error for above command .

MyApp.app : a sealed resource is missing or invalid


We are facing this issue on macos ventura and not on bigsur. The macos version is 13.6 .


Please help us understand the cause for this inconsistency .


I will be appreciative for response on this thread.

MacBook Pro 16″

Posted on Oct 5, 2023 10:15 AM

Reply

Similar questions

2 replies

code signing works well - but the app shows damaged (gatekeeper spctl check fails)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.