Code Block bash open /Applications/<appname.app>
I get the following error sometime
Code Block bash The application cannot be opened for an unexpected reason, error=Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x7ffa82413830 {Error Domain=OSLaunchdErrorDomain Code=125 "Domain does not support specified action" UserInfo={NSLocalizedFailureReason=Domain does not support specified action}}}
This issue is intermittent and happens 20% of time. Our codesigning and Notarisation everything is clean.
To give more context, the app comes with a native installer and in the Postinstall script we try to start the app by using open command, so that as soon as the installation completes the application comes up. Thats where we are running into this issue.
This does not happen till Catalina and we are seeing it only in BigSur latest beta. Any help is appreciated. Thanks.