LaunchAtLoginHelper icon indicating copy to clipboard operation
LaunchAtLoginHelper copied to clipboard

Yosemite support?

Open tomtaylor opened this issue 11 years ago • 3 comments

Hello, I'm having trouble getting my app to start up correctly using LaunchAtLoginHelper.

I've filed a bug on my own repo, over here, but it'd be helpful if you could confirm whether LaunchAtLoginHelper works correctly on Yosemite, or if you've seen the error messages I've mentioned before.

tomtaylor avatar Oct 24 '14 08:10 tomtaylor

You can give my fork a go: https://github.com/JanX2/LaunchAtLoginHelper

I just verified that my app currently using it launches correctly at login on Yosemite and Mavericks.

There are significant changes to simplify setup and maintenance. So be sure to read the README or at least its diff against the master branch. Especially the note on codesigning.

JanX2 avatar Oct 24 '14 15:10 JanX2

We should note that SMCopyAllJobDictionaries is deprecated since 10.10.

DivineDominion avatar Sep 28 '15 12:09 DivineDominion

True, @DivineDominion.

This routine is deprecated and will be removed in a future release. There will be no provided replacement.

Any ideas for or links to a different approach?

Edit:

This is from some of the other functions:

A replacement will be provided by libxpc.

Looks like all we can do is continue using SMCopyAllJobDictionaries() for now. We have to switch to a libxpc-base replacement at some point once the API becomes available.

JanX2 avatar Sep 29 '15 08:09 JanX2