SharedFileList imports from pyobjc-framework-LaunchServices no longer work on OS X 10.11

Issue #126 resolved
Advait Karande
created an issue

While testing some of our pyobjc-based code on the current OS X 10.11 (El Capitan) beta, we encountered problems with the use of LaunchServices framework. For example, the following code that works on OS X 10.10 and earlier no longer works on OS X 10.11.

from LaunchServices import LSSharedFileListCreate

Basically, Apple has deprecated the SharedFileList API, and, in the process, appears to have separated the API from LaunchServices into its own framework (SharedFileList.framework). That's probably why the SharedFileList imports no longer work through pyobjc-framework-LaunchServices.

Note that any Objective-C code that uses the ShareFileList API and that previously linked against the CoreServices umbrella framework continues to work fine on OS X 10.11.

Will pyobjc continue to support the SharedFileList API?

Comments (6)

  1. Ronald Oussoren repo owner

    PyObjC will support these APIs as long as they are available on the system. I'll have to update the wrappers for this and will do so when I get around to testing on 10.11 myself. I've been travelling and therefore haven't even installed the current beta's yet.

  2. Ronald Oussoren repo owner

    I don't know yet. I want to do a major release around the time 10.11 is released, but may do a bug fix release earlier than that (with a back port of the fix I committed to the trunk earlier)

    The good news in that regard is that as of yesterday I have a VM running OSX 10.11 that I can use to test.

  3. Log in to comment