Re: [Pyobjc-dev] NSXPCConnection not working in pyobjc
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2021-08-21 10:03:13
|
Sadly enough the issue is not fixed and cannot be fixed. I’ve described the workaround in <https://pyobjc.readthedocs.io/en/latest/notes/using-nsxpcinterface.html <https://pyobjc.readthedocs.io/en/latest/notes/using-nsxpcinterface.html>>, that description assumes you know how to write C extensions. I’ve closed the the issue at GitHub (https://github.com/ronaldoussoren/pyobjc/issues/256 <https://github.com/ronaldoussoren/pyobjc/issues/256>) as wontfix because there are no public APIs that can be used to register the “extended method signature” information needed by NSXPCInterface. I have filed an issue with Apple about this, but have little hope that this will accomplish anything. And even if my request is granted this would end up in macOS 13 at the earliest. Ronald > On 20 Aug 2021, at 11:43, Durgaprasad Kelkar <dur...@gm...> wrote: > > I am working on NSXPCConnection in Pyobjc. > I could not create NSXPCInterface with a protocol. > I referred https://stackoverflow.com/questions/52284089/is-it-possible-to-use-pyobjc-with-a-privilved-xpc-helper-tool-and-xpcinterface-a <https://stackoverflow.com/questions/52284089/is-it-possible-to-use-pyobjc-with-a-privilved-xpc-helper-tool-and-xpcinterface-a>. > Links given in the answers are not working. > Can you give latest links or code snippet for the same. > > Does issue https://bitbucket.org/ronaldoussoren/pyobjc/issues/256/enable-using-xpcinterface-with-protocols <https://bitbucket.org/ronaldoussoren/pyobjc/issues/256/enable-using-xpcinterface-with-protocols>. is fixed. > > Any help around this would be helpful. > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev — Twitter / micro.blog: @ronaldoussoren Blog: https://blog.ronaldoussoren.net/ |