Re: bonjour broken in iOS 14


 



On Sep 18, 2020, at 2:34 AM, Gerriet M. Denkmann <gerriet@...> wrote:

But in iOS 14 the stateUpdateHandler  gets a .failed NWBrowser.State, with DNS Service Error: NoAuth(-65555)

I'm guessing your network environment includes a DNS server that supports DNS updates (i.e. wide-area Bonjour) but you don't have the credentials to push updates to the DNS server.

This error probably only applies to the browser registration for that domain, not for the local-network domain. I.e. your app should still be working for local network browsing.

If you only want to do local-network (mDNS) browsing, then use `domain: "local"` instead of `domain: nil`.

—Jens

Disclaimer: I've never used the "NW" classes, I'm just working off my knowledge of Bonjour.

Join {cocoa@apple-dev.groups.io to automatically receive all group messages.