2 Replies
      Latest reply on Jan 3, 2019 12:35 PM by janice
      eric_h_smith Level 1 Level 1 (0 points)

        After updating to xcode 10.1, IOCFPlugInInterface's QueryInterface returns an error, HRESULT = -2147483644.

         

        I haven't been able to find any documentation on this error code... I'm totally stumped.

         

        Any suggestions are appreciated!

        • Re: QueryInterface
          eskimo Apple Staff Apple Staff (12,305 points)

          That error translates to 0x80000004, which is defined in <CoreFoundation/CFPlugInCOM.h> as E_NOINTERFACE.  I’m not sure what’s going on with your code but the semantics of that are pretty clear: The target plug-in does not support the interface you’ve asked for.

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"

          • Re: QueryInterface
            janice Level 1 Level 1 (0 points)

            The IOKit interface changed in 10.14 so if you're using the 10.14 SDK to build with, you need to explicitly use the "old" interface in order to run on older releases. Take a look here:

             

            https://forums.developer.apple.com/thread/107369

             

            You probably need to switch to use kIOUSBInterfaceInterfaceID650 instead of kIOUSBInterfaceInterfaceID