Post

Replies

Boosts

Views

Activity

Reply to Automatically restarting a Mac App Store sandboxed app
Even we too have similar kind of issue wherein we don't have a mechanism to relaunch background app which runs continuously in case of crash. We get user consent to run this background app and are using helper app installed via SMLoginItemSetEnabled API to launch background app on subsequent login. But helper app is terminated once it successfully launches background app. So @Eskimo do you mean we can use the helper app to monitor the state of main app and relaunch it whenever crashes. Can we keep the helper app installed via SMLoginItemSetEnabled API running all the time?
Topic: Code Signing SubTopic: General Tags:
Feb ’23
Reply to Automatically restarting a Mac App Store sandboxed app
Yes our app is sandboxed and ships to Mac App Store. And yes we did check on SMAppService which support macOS 13 & above but to support older macOS we still use SMLoginItemSetEnabled API. But as we checked the problem still exists even with new SMAppService there's no mechanism to relaunch main app in case of crash..Is our assumption right?
Topic: Code Signing SubTopic: General Tags:
Feb ’23