I am building app for MacOS to advertise using bonjour but non of the other mDNS is able to resolve service.
I have added Privacy - Local Network Usage Description to plist.
I have added BonjourServices like this:
_myservice._tcp.local._myservice._tcp.
I was trying to use both NetService as well as NWListener.Service with the same result.
It only publishes type and no other informations.
I tried other implementations of mDNS. I tried java and android and both works as expected and works fine except they can't find NetService event through NetService can find them.
I feel like I looked up whole internet already with no luck.
I also tried to use dns-sd tool to discover more and it does find them but with interesting results, because it returns -1 interface.
What else can I try?
edit.
I have more insights. I can't event properly register service using dns-sd on my macbook with Big Sur but on my partners with Catalina no problem everything works as expected.