Posts

Post not yet marked as solved
5 Replies
1k Views
My app has a helper application to register with launched using- SMLoginItemSetEnabled When both the main app and helper app are signed with dev cert, the helper app is launched/called as soon as you login, but a prod singed apps do not work as expected. In this case, the helper app is not auto launchd upon login. This behavior is not seen in macOS 11.0/11.1. Here the prod signed helper app is launched as expected upon login. Upon further investigation, I found the following log entries in system.log file Feb 11 00:38:33 MacBook-Pro com.apple.xpc.launchd[1] (com.company.HelperApp[2121]): LaunchServices returned a bundle URL that does not match with the LoginItem's known association. Feb 11 00:38:33 MacBook-Pro com.apple.xpc.launchd[1] (com.company.HelperApp[2121]): Service exited with abnormal code: 78 Feb 11 00:38:33 MacBook-Pro com.apple.xpc.launchd[1] (com.company.HelperApp): Service only ran for 0 seconds. Pushing respawn out by 10 seconds. What does the log mean and how can I get the prod signed builds to work as expected?
Posted Last updated
.