Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK deprecation #14

Open
CharlesIC opened this issue Aug 31, 2017 · 7 comments
Open

SDK deprecation #14

CharlesIC opened this issue Aug 31, 2017 · 7 comments

Comments

@CharlesIC
Copy link

Many SDKs used in the project (e.g. the LSSharedFileListCreate method) have been deprecated in macOS 10.12 (Sierra). They still work (for now?) but it's worth updating to the new Service Management framework. More info at these links:
OS X at startup" code deprecation
Make Swift Cocoa app launch on startup on OS X 10.11

@mosen
Copy link
Owner

mosen commented Aug 31, 2017

Yeah many of the shared file list functions are going behind XPC so it's sfltool or nothing unfortunately.

@CharlesIC
Copy link
Author

OK, I wasn't able to find a new way of manipulating the SFL files that is meant to replace the deprecated methods in LSSharedFileList.h. Unless you need to remove an item, sfltool will do, otherwise the current method seems to be the way to go at least until the functionality gets removed from the OS.

@mosen
Copy link
Owner

mosen commented Sep 2, 2017

I'll try to update it but otherwise we need a new method, you are correct

@wongzigii
Copy link

Any update on this? Is there any replacement for the deprecated LSSharedFileList?

@mosen
Copy link
Owner

mosen commented May 29, 2018

Nope. There's API private to apple but we can't use it

@RicardoAnjos
Copy link

In Mojave LSSharedFileListCreate and LSSharedFileListItemRemove are no longer. Only listing. So the last version were working is in High Sierra. Would be great to find another way to add and remove icons from favourites though

@Tatsh
Copy link

Tatsh commented Oct 23, 2018

Not having a problem with this in Mojave @RicardoAnjos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants