sindresorhus / LaunchAtLogin-Legacy

Add “Launch at Login” functionality to your macOS app in seconds
MIT License
1.56k stars 122 forks source link

Silence SMCopyAllJobDictionaries deprecation warning #66

Closed arielelkin closed 3 years ago

arielelkin commented 3 years ago

Addresses https://github.com/sindresorhus/LaunchAtLogin/issues/12

sindresorhus commented 3 years ago

I'm aware of this workaround. I just haven't bothered as this is no longer an issue. SwiftPM is in Xcode and Carthage will not be supported for much longer. It's quite a lot of work to do testing when doing changes to this package to ensure nothing broke, so not sure it's worth changing this.

arielelkin commented 3 years ago

Note that the deprecation warning still appears in the build logs of any app using this package:

image

This is from v4.1.0, using Xcode 13

sindresorhus commented 3 years ago

Ah, ok. I never look at the full build logs. It doesn't show up as a warning in the navigator. This makes more sense now.

sindresorhus commented 3 years ago

Thanks :)

sindresorhus commented 3 years ago

https://github.com/sindresorhus/LaunchAtLogin/releases/tag/v4.2.0