sindresorhus/LaunchAtLogin-Legacy

App not launching at login

fredmurakawa opened this issue · 3 comments

LaunchAtLogin was not working on the app I am working on so I decided to create a new app just with the package to check if it would work. I created a new macOS app (without storyboard) and followed the steps on the README and it's not working. Is there anything else I should try? I've already tried to delete Derived Data, clean build but it still not working.

Any idea how to solve it? Is there any info/log I can send to help to debug this issue?

Screen Shot 2022-10-13 at 13 03 36
Screen Shot 2022-10-13 at 13 04 12

The same problem:
MacOS: 13.1 (22C65)
XCode: 14.2 (14C18)

App runned from TestFlight

enter image description here

But strange thing: It is in autorun list:

enter image description here

But App WASNT runned on PC restart.

Does this library works well with TestFlight apps?

Same problem happens for me on macOS 13.6.1 with a TestFlight build. I can see Login item added, but app just doesn't start. Sometimes app icon just jumps in Dock for ~30 seconds and then stops, sometimes app shows as launched in dock but in fact it's not launched.

With Xcode debug build everything works as expected, Login Item is added and it opens my app on login.

For macOS 14.x it works both with TestFlight & Xcode builds

Same problem happened to me with macos 13.6.6.
The app is not launching when login, just bouncing in dock.
For macOS 14 it works well.