You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of WWDC 2017, Apple engineers have stated that this is still the preferred API to use.
To enable your app to compile wrap SMCopyAllJobDictionaries with the following:
If this issue is important to your app and you'd like a resolution, please file a radar; this helps Apple engineers determine priorities of work items.
So I did file a radar on this, and got the following response:
Looking at the use of SMCopyAllJobDictionaries in StartAtLoginController, I see that it is used to retrieve the value of OnDemand key. That key is not related to SMLoginItemSetEnabled. Its value is the opposite of KeepAlive, please refer to man launchd.plist. SMJobIsEnabled is likely a better fit here.
However, I haven't been able to find documentation on SMJobIsEnabled and am therefore not sure how I'd go about updating this... maybe someone else here has more experience in this area?
SMCopyAllJobDictionaries is deprecated in OS X 10.10
The text was updated successfully, but these errors were encountered: